How to use ssh as a socks5 proxy with autossh
To randomized my ssh tunnels, I use a small script. This script looks at my
~/.ssh/config for hosts with the
#socks5 after the
Host and picks one out. I use
autossh to maintain the connection.
AUTOSSH(1): autossh is a program to start a copy of ssh and monitor it, restarting it as necessary should it die or stop passing traffic.
I start the script automatic on boot with Supervisor
Now you can set
127.0.0.1:8888 as a proxy when your application support SOCKS5
If you liked this post, you can share it with your followers or ping me on Twitter!