0

I have a setup with two internet connections.

  • eth0 - Internet connection 1
  • eth1 - Internet connection 2

How can I create a SOCKS 4/5 server that will take connections coming from eth0 and proxy the traffic through eth1 ?

I saw that you can use ssh to create a simple SOCKS proxy, but I am unable to proxy the traffic through eth1.

I also tried Dante, but with no success.

  • Did you manage to setup Dante successfully? – Jeje Doudou Apr 24 '15 at 14:59
0

I guess you can not make any service use specific interface for oubound traffic. The only way to rule outbound traffic is to use route utility. This is system wide setting.

  • It surely can be done, but I don't know how. Dante can do it, but I am incapable of configuring it .. – Christian Toma Jan 12 '13 at 22:00
  • wget --bind-address and curl --interface does that too. – themihai Nov 14 '14 at 1:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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