11

I often use an SSH tunnelling on my computer, using a SOCKS proxy.

ssh -D 1234 example.com

However, this only accepts local connections. I would like other systems on my network to be able to use the proxy on my computer as well.

How can I achieve this? If SSH doesn't have an option itself I imagine it might be possible to have a program proxy the proxy on a different port, but I don't know if there are any common tools to do this.

user1114
  • 1,671

2 Answers2

18

Tell it to bind to an external address instead of localhost.

ssh -D 192.168.0.123:1234 example.com
-2

You would have to enable routing on your host and set up a routing protocol, such as RIP. Basically, you have to act like a router and the other hosts have to have routing entries to get to the network on the other side (which is hopefully not a duplicate RFC1918 network).

Keith
  • 8,293