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 setup a SOCKSv5 server (Dante) on Ubuntu with two ethernet interfaces:

  • eth0 is connected to my WAN with a static routable IP
  • eth1 is connected to my LAN with a private IP

I have a client connected on the LAN, and I'm able to ping the LAN port of the proxy using its IP address. However, I'm not able to resolve DNS names from that computer. The default gateway for my client points to the LAN of the proxy.

When I do a wireshark trace on the proxy, I see the DNS request coming in on eth1, but I don't see anything coming out of eth0. If I enable ip_forward on the proxy, then I see the DNS coming out of eth0 but the source iP is the private IP, which isn't routable. Is there any way for the proxy to handle DNS?

share|improve this question

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.