With the help of forum members I successfully moved a server off the net and behind a new router/gateway. My network looks something like:
LAN
ws1 ----+
|
|
server1---+--Gateway1-- Internet
^ ^
x.pvt x.mydom.com
The server hosts a handful of services including web and DNS. I have a pseudo-domain for my LAN called PVT (served by server1.) NAT internet access from the 10.0.2.0 LAN is working just fine: all workstations and hosts can get out without a problem. Port forwarding from the gateway back to server1 is working just fine. I can access all services on server1 from the LAN just fine.
My problem is that, for logical consistency, I would like to be able to access server1 from ws1 using the external address. That is, want to surf the server1 web server using x.mydom.com. Right now this fails. I can surf it using x.pvt but *not* x.mydom.com.
Hosts external on the net *can* access this server. Just LAN hosts fail. I assume I mis-configured IPTables somehow and NAT and port-forwarding on the gateway are conflicting somehow.
Does anyone have any thoughts?
This Post was from: https://www.centos.org/newbb/viewtopic.php?forum=58&topic_id=36596&post_id=158616