Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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:

  • Internet connection with proxy (SOCKS5) server.
  • User's computers with MS Windows. These users don't want to use proxy, they want NAT/Masquerade internet.
  • One linux box in this network.

How can I make "Proxy to socks" retranslator with it? Something, which will capture all "local" network request and map them into proxy requests?

Is there any software, designed for this purpose? Maybe some libraries I can utilize

share|improve this question
Is there a reason you can't NAT them at your router? – pjc50 Apr 13 '12 at 9:37
I can. But ISP's rules are "any internet connection is through proxy", and this is a problem. – Arenim Apr 13 '12 at 12:44
up vote 0 down vote accepted

If you'd like to tunnel all local network traffic to the socks proxy you can use tun2socks.

share|improve this answer
Thank you. Description says it's exactly what I need. I'll try and report here. – Arenim Apr 13 '12 at 12:43
Yes, it worked. Thank you. – Arenim Apr 25 '12 at 15:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.