4
Jan/09
1

Create a dynamic ssh tunnel for your firefox

I had some problems to access the Internet from my local client. My OpenWRT router was not forwarding the connections properly. Connections from the router to the net were no problem. Cause surfing the net with text based browsers is not mine I created a tunnel from my client to the router to be able to connect outside from the client.

I created the tunnel on my Ubuntu box via:

:> ssh -D 8080 <username>@192.168.1.1

After authentication I am able to connect to the Internet with any application on the client. I configured my Firefox to use a socks proxy:

Start firefox, select Edit -> Preferences. At Advanced tab, select Network tab and then “Connection Settings…”. Select “Manual proxy configuration”. Clear everything there expect SOCKS entry. Put IP 127.0.0.1 as host, 8080 as port and select SOCKS v5. Then hit OK. Now you can surf the net from your client via the ssh’ed host.

Filed under: Open Source
Comments (0) Trackbacks (1)