Setting up a SSH Tunnel with Firefox HOWTO  
The last time I visited China in November 2018, I was able to get around the Great Firewall through a not-well-known-but-very-potent approach: ssh tunnelling.
11.15.18
This can be done as follows. In the UNIX shell, type:
ssh -D 8123 -f -C -q -N username@sshserver.com
Where “username” is the login ID and “sshserver.com” is the hostname of a UNIX machine running sshd. You can check that your ssh tunnel is working fine by typing the following:
ps aux | grep ssh
If the tunnel is successfully established, this should output one line with the following “ssh -D 8123 -f -C -q -N username@sshserver.com”. Then, open up firefox, click on the menu icon in the upper right (three horizontal bars), select preferences, search for “network”, click on “settings”, and do the following:
  Select “Manual proxy configuration”.
  For “SOCKS host”, enter “localhost”.
  For the SOCKS host port, enter “8123”.
  Select “SOCKS v5”.
  Select “Proxy DNS when using SOCKS v5”.
Click on OK. When opening pages in firefox, the DNS request and the http request will go undetected by the Great Firewall through the ssh tunnel and be processed by your server, which will send you back the packets. This way, you can browse the full net using firefox with no firewall restrictions.
PDF 1✕1 2✕1 2✕2
$\pi$