Quantcast
Channel: Pinguy OS Forum - All Forums
Viewing all articles
Browse latest Browse all 1646

How to use SOCKS proxy with Firefox

$
0
0
If you own a server running Linux you can ssh into it to run a SOCKS proxy.

In Ubuntu or other Linux systems (including OS X) you can open a terminal and run:

Code:
ssh -D 1337 -f -C -q -N User@ServerIP -p 22
  • -D 1337 tells ssh to launch a SOCKS server on port 1337 locally.
  • -f forks the process into the background.
  • -C Turns on compression.
  • -q enables "Quiet mode", since the purpose here is only to tunnel we don't really care about error output and such.
  • -N tells ssh that no commands will be sent (-f complains if we don’t specify this).
  • -p specifies what port to use; obviously this is defaulted to 22 so the statement above is pointless, but included for clarity.

If you’re on Windows, you can use PuTTY.

Next grab this addon for Firefox so it is easy to enable and disable the proxy from the toolbar.

This is the default settings.

Image

IP: 127.0.0.1
PORT: 1337

Viewing all articles
Browse latest Browse all 1646

Trending Articles