Using a NAT server to share a resource, yet placing a web server behind it on the private network.
NAT Server: Internal 192.168.1.1 / 24
2nd IP 185.0.0.1
Nat mapping 80 to 185.0.0.2
Web Server: Internal 192.168.1.2 / 24
2nd IP 185.0.0.2
If the web server can ping other servers on the 'internet' and the internet can see the web server (on port 80, it opens up and whaterver.com
However, the NAT server cannot resolve back to it, and neither can itself using or , because the NAT server is not mapping that port from internal requests
The DNS server is 185.0.0.100
It's entries are
whatever.com
- ns 185.0.0.100 (itself)
- soa 185.0.0.100 (itself
- A (host) -whatever 185.0.0.1
- CNAME (alias) -
the IIS website on 185.0.0.2 is bound to 'all unassigned' IP addresses , and default website is stopped.
FROM THE INTERNET, it all works flawlessly
FROM THE INTERNAL NETWORK (NAT server, WEB server, and CLIENTS), the domain resolves to the NAT server's IP.
There are NO static routes set up,
Any suggestions, ideas, inklings, questions, everything is welcome to solve this.
Thank you!
NAT Server: Internal 192.168.1.1 / 24
2nd IP 185.0.0.1
Nat mapping 80 to 185.0.0.2
Web Server: Internal 192.168.1.2 / 24
2nd IP 185.0.0.2
If the web server can ping other servers on the 'internet' and the internet can see the web server (on port 80, it opens up and whaterver.com
However, the NAT server cannot resolve back to it, and neither can itself using or , because the NAT server is not mapping that port from internal requests
The DNS server is 185.0.0.100
It's entries are
whatever.com
- ns 185.0.0.100 (itself)
- soa 185.0.0.100 (itself
- A (host) -whatever 185.0.0.1
- CNAME (alias) -
the IIS website on 185.0.0.2 is bound to 'all unassigned' IP addresses , and default website is stopped.
FROM THE INTERNET, it all works flawlessly
FROM THE INTERNAL NETWORK (NAT server, WEB server, and CLIENTS), the domain resolves to the NAT server's IP.
There are NO static routes set up,
Any suggestions, ideas, inklings, questions, everything is welcome to solve this.
Thank you!