Configuration information for the Microsocks package on FreeBSD as the existing documentation does not give sufficient details to create a secure configuration flexible enough to use for various use cases. See https://github.com/rofl0r/microsocks for the latest source code and wiki documentation. Note: The user authentication method supported by Microsocks is only plaintext, and is not protected by any layer of encryption. Please be hyper aware and use other layers of protection to secure your socks5 endpoint. (Firewall + TLS encryption with client authentication using something like stunnel).
- If you want an easy way of doing this, just look at
ssh -D localhost:1080 <user@host>
instead since SSH provides a native Socks5 tunnel with encryption. - You can also use stunnel in socks5 protocol mode without Microsocks since it has native support for
protocol = socks
. See stunnel documentation here: https://www.stunnel.org/static/stunnel