Reply To: [SOLVED] Accesing local servers using the domain name.

Home Page Forums Network Management ZeroShell [SOLVED] Accesing local servers using the domain name. Reply To: [SOLVED] Accesing local servers using the domain name.

#50335

atheling
Member

I would expect that a listing of the NAT chains using

iptables -t nat -vn -L

would include something like the following (my subnet, not yours):

Chain custom_postroute (1 references)
pkts bytes target prot opt in out source destination
1544 119K MASQUERADE all -- * * 10.7.52.0/24 10.7.52.130

I set that up using the following in the Zeroshell UI:

In your case, I don’t see the contents of the “custom_postroute” table so I can’t see if you have the “MASQUERADE” rule in there. The key is that you have to NAT (masquerade) the traffic from your LAN to your server or the return IP packets will not be routed properly.