Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have socks proxy running on port 1080. I want other people on LAN to use this proxy. How can I do that?

One way is that the client can run this command and then use proxy on his computer:

ssh -L 1080: myusername@myipaddress

But, I dont want to use ssh because that requires me to give my password to others.

share|improve this question
why do you run the proxy on if it shall be used from the outside? bind it to your lan address instead. – matthias krull Jul 6 '10 at 14:58
how do I do that? – Abhijeet Rastogi Jul 30 '10 at 18:35
It depends on the proxy server you are using.. set it to bind to all interfaces instead of just localhost. – b0fh Jul 30 '10 at 20:38
The proxy is run using ssh -D option. Dynamic port forwarding.. – Abhijeet Rastogi Aug 5 '10 at 5:11
up vote 2 down vote accepted

See your proxys configuration file. Usually there should be an option "bind". Set that to your lan accessable ip address or even to any address (

To be sure you should check the proxys documentation on how to actually bind to addresses or interfaces.

After binding to the lan ip (and maybe configuring the firewall to allow access) anyone on the lan should be able to use your computer as proxy.

share|improve this answer
btw: you could provide some more information on the proxy software you use. the name would be a good start ;) – matthias krull Jul 31 '10 at 18:08
That proxy is running using "ssh -D" – Abhijeet Rastogi Aug 5 '10 at 5:11
ok. thats simple. ssh -D takes a bind address parameter plus port. Just use ssh -D <your_lan_address>:<port>. i guess if no bind address is given it defaults to – matthias krull Aug 5 '10 at 11:47
But, I dont want others to have access to my files. I dont want to give them password of my account. I have mentioned this point in my question – Abhijeet Rastogi Aug 8 '10 at 6:11
you dont have to give away your password. once the proxy is running anyone can connect to the port and the ssh proxy is forwarding the traffic. ssh -D <your_ip>:1080 your_user@your_machine with this command your machine is acting as socks proxy on port 1080 to anyone in the lan. – matthias krull Aug 8 '10 at 13:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .