Last updated 1 year ago
The following script can help simplify the socks tunnel process:
#!/bin/bash # filename: ssh-tunnel.sh if [[ $# -eq 0 ]] then echo "usage: ssh-tunnel <username@server> or ssh-tunnel exit" elif [ $1 == "exit" ] || [ $1 == "stop" ] then ssh -S /tmp/ssh-tunnel -O exit exit else ssh -fCNMS /tmp/ssh-tunnel -D1080 $1 -p22 fi
Using Firefox, go to Settings, scroll down to Network Settings, click on Settings and configure like: