Posts

Showing posts with the label tunnel

Use your private linux server (NAS or other) as a proxy with ssh, PuTTY and Firefox

Image
In PuTTY parameters, in Connection > SSH > Tunnels Configure your SSH connection as usual In Source port , input the port that putty will listen on (e.g. 44444). Use a port that is not currently used on the computer running putty In  the three-option Local, Remote, Dynamic, choose Dynamic Click the Add button Click the Open button to connect to the server In the Firefox options, Advanced > Network > Parameters , select the option Manual proxy configuration . In the field SOCKS host , input 127.0.0.1 and in port , the port you have configured in PuTTY. Your Firefox should now tunneling all your connections through your private server. (This should also work with any server running SSH) UPDATE 2014-03-12 :  If you also would like to secure your DNS queries, write "about:config" in the address bar. Then search for the value network.proxy.socks_remote_dns and set it to true  #1

Connect to your local router from wan through ssh

In a previous post , I've described how to open remote management for your bbox2 / local modem-router via ssh. I've found an easier and more secure way to achieve this : Prerequisites : * You have PuTTY (or an ssh client) * ssh server on your local network is reachable from wan In PuTTY settings > Connection > SSH > Tunnels , define the following : Source port : 8080 (or any free port on your computer running PuTTY) Destination : 192.168.1.1:80 (assuming your router ip is 192.168.1.1 and the default web interface running on port 80 ) Click on [Add] Apply changes You can now connect on your router web interface from your computer running PuTTY via the following address : http://localhost:8080/