Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer 1

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.

share|improve this answer
    
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
add comment

Your Answer

 
discard

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.