Soxy - Quick and easy SOCKS proxy managementCreated by, Chris Kankiewicz & Charles Bock
soxyfile to your machine.
Copy the provided
~/.soxy/configand edit it for your configuration:
REMOTE_USER='YOUR_USERNAME' REMOTE_HOST='TARGET_HOSTNAME' REMOTE_PORT='22' LOCAL_PORT='1080' AUTO_RECONNECT=false
soxyfile executable by running:
chmod +x /path/to/soxy
If you haven't already, you will also need to generate an RSA key pair with the following command:
Now copy your public key to the remote host with the following command:
ssh-keygen -t rsa -C "<your_hostname>"
You can now start the SOCKS proxy connection with the following command:
Manual. For Socks Host enter
localhost, and enter the port you used (default is
localhostand the corresponding Port to the port you specified (default is
Additionally, enable DNS request proxying by checking "Remote DNS"
It's also possible to define black/white lists based on URL patterns and control exactly which route should be used (multiple proxies possible + direct).
/your/path/to/soxy startand hit the Add button.
Now, whenever you first log into your system, Soxy will automatically start a SOCKS connection for you.
crontab -eon most linux distributions. A possible setup could look like this:
If you want the script to attempt a re-connect as soon as the connection drops, you can set
## run every 10 minutes */10 * * * * /path/to/soxy status
Stop the SOCKS connection
Restart the SOCKS connection (stops then starts)
Get the status of the SOCKS connection
To report a bug, visit the issue tracker on Github at: https://github.com/PHLAK/Soxy/issues