Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
software:ssh [2011/09/24 20:21] cyril |
software:ssh [2014/03/05 16:53] cyril add sshuttle |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Static Forwarding ===== | ===== Static Forwarding ===== | ||
+ | Local forwarding: | ||
< | < | ||
ssh -L8021:< | ssh -L8021:< | ||
+ | </ | ||
+ | Remote forwarding (you need to set " | ||
+ | < | ||
+ | ssh -R8021:< | ||
</ | </ | ||
Line 12: | Line 17: | ||
< | < | ||
- | ssh -D8080 < | + | ssh [-fN] -D8080 < |
</ | </ | ||
Line 19: | Line 24: | ||
Then configure your apps to use it: | Then configure your apps to use it: | ||
* **Firefox** : Preferences | Advanced | Settings | Manual Proxy Configuration | SOCKS Host : localhost, Port : 8080 | * **Firefox** : Preferences | Advanced | Settings | Manual Proxy Configuration | SOCKS Host : localhost, Port : 8080 | ||
+ | * **Firefox** : there are some add-ons like FoxyProxy to quickly switch between no proxy and different proxies | ||
* **Thunderbird** : Preferences | Advanced | Network & Disk space | Settings | Manual Proxy Configuration | SOCKS Host : localhost, Port : 8080 | * **Thunderbird** : Preferences | Advanced | Network & Disk space | Settings | Manual Proxy Configuration | SOCKS Host : localhost, Port : 8080 | ||
* **VLC** : '' | * **VLC** : '' | ||
Line 35: | Line 41: | ||
socksProxy=socks:// | socksProxy=socks:// | ||
</ | </ | ||
+ | * **Applications that do not support use of a proxy**: configure tsocks in / | ||
+ | server = localhost | ||
+ | server_type = 5 | ||
+ | server_port = 8080 | ||
+ | </ | ||
+ | tsocks < | ||
+ | </ | ||
+ | You can do something similar and maybe more powerful with proxychains. | ||
+ | |||
+ | RSYNC protocol proxy:< | ||
+ | export RSYNC_CONNECT_PROG=' | ||
+ | </ | ||
+ | |||
+ | ===== Complete Forwarding ===== | ||
+ | |||
+ | Forward all the traffic so you don't have to configure every application. | ||
+ | * **VPN**: complicated to set up | ||
+ | * **SShuttle**:< | ||
+ | sshuttle --dns -r < | ||
+ | </ | ||