Fri 19 Oct 2007
forward a single IP
- ssh into a server
- right click on toolbar, change settings
- ssh->tunnels
- source: 80
- destination: someip:80
- CLICK Add
- click Apply
- in a browser: goto localhost and you’ll see the contents of someip
forward all addresses
- ssh into a server
- right click on putty toolbar, change settings
- ssh->tunnels
- source: 5432
- select (*) Dynamic
- Click Add
- Click Apply
- in firefox:
- tools->options, advanced, network
- (*) manual proxy configuration
- SOCKS host: 127.0.0.1, port: 5432
To make it more secure, set the user shell on the ssh server to /bin/false and in ssh settings click [x] don’t start a shell or command at all
don’t forget to change the network settings back when you want to surf normally. Also once the ssh session closes your internet access will not work