On the server side, stunnel exposes a SOCKS port. The setup is easy and straight forward and what is happening under the hood, is rather interesting: Server side How to install and configure stunnel on Ubuntu Process overview To see how to properly install and setup stunnel on Ubuntu (and possibly other distros), refer to my other article on the topic: Only suited for personal use (as after the initial client verification, it’s not easy to setup client access control).īut even with those limitations (most of which also applies to OpenSSH SOCKS), it is still suited for most applications.SOCKS5 built-in Authentication is not supported (though stunnel has its own methods of authentication on top of SOCKS5).Advanced options like BIND is not supported.Only TCP tunneling is supported (not UDP).There are some limitations to the stunnel SOCKS implementation however that you should be aware of: It can do so without the need of any additional software, and to top that off, you don’t need to keep any other session active for it to work 2. Stunnel on the other hand, comes with its own implementation of secure SOCKS5, SOCKS4, and SOCKS4a protocol. The most serious problem with such approach, is that you need to have an active SSH connection to the server at all times (That is unless you do some ugly hacking). To overcome this, a very popular method for setting up a SOCKS server, is to use the OpenSSH port forwarding capability along with its built-in SOCKS support.īut using OpenSSH this way, is not always the best option. SOCKS protocol (including SOCKS5), does not provide any means of encryption by itself 1. SOCKS connections generally has a per connection overhead, which is neglectable. This is specially true when you have a per packet ones. Overhead might not look like a big deal at first, but it adds up. In such cases, setting up a SOCKS proxy might just do the trick.Īnother interesting aspect of SOCKS proxy, is that after the initial per each connection handshake, it doesn’t add much overhead to the underlying traffic. How to run stunnel on your android device To see how to install and setup stunnel on android, take a look at: SOCKS functionality could then be directly used in your phone for apps that support it: Firefox, Telegram, etc. Stunnel can be used on your Android phone.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |