linux_wiki:ssh_proxy_tunnel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux_wiki:ssh_proxy_tunnel [2014/11/24 22:40]
billdozor
linux_wiki:ssh_proxy_tunnel [2019/05/25 23:50] (current)
Line 1: Line 1:
 ====== SSH Proxy Tunnel ====== ====== SSH Proxy Tunnel ======
 +
 +**General Information**
 +
 You are somewhere that has a restrictive firewall/web proxy, but allows SSH. You are somewhere that has a restrictive firewall/web proxy, but allows SSH.
-This SSH trick allows you to tunnel your web browser's traffic to your own SSH server and browse the web as if you were at home.+This trick allows you to tunnel your web browser's traffic through SSH to a remote system and browse the web as if you were at that remote system.
  
-__Assumptions__ +**Checklist** 
-  * You already have a SSH server setup that is accessible from the internet.+  * Distro(s): Any 
 +  * Other: You already have a remote SSH server set-up that is accessible from the internet. (At home, hosted, etc)
  
-1) Open a tunnel to your SSH server, and specify a dynamic application listening port:+---- 
 + 
 +===== From the Local Computer ===== 
 + 
 +1) Open a SSH tunnel to the remote system and specify a dynamic application listening port (Example: -D 1337):
 <code bash> <code bash>
-ssh -D 4777 -v user@yourhome.com+ssh -D 1337 user@yourhome.com
 </code> </code>
  
 2) Edit your browser proxy settings to use the same port SSH is listening on. 2) Edit your browser proxy settings to use the same port SSH is listening on.
  
-__Firefox__+__Firefox Quantom__
  
-  * Edit->Preferences->Advanced->Network->Connection->Settings...+  * Open Menu (three horizontal lines) -> Preferences -> General -> Network Proxy -> Settings...
     * Check "Manual proxy configuration"     * Check "Manual proxy configuration"
     * SOCKS host: localhost     * SOCKS host: localhost
-    * Port: 4777 +    * Port: 1337 
-    * Select SOCKSv4+      * Select "SOCKS v4" 
 +    * Remove "localhost" from the "No Proxy for" text box
     * Click OK     * Click OK
 +  * You may also have to set the "network.proxy.socks_remote_dns" value to true (http://about:config)
 +
  • linux_wiki/ssh_proxy_tunnel.1416886804.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)