Client wants to access NAT'd web server from inside LAN using WAN IP
Posted: Mon Oct 29, 2018 5:06 pm
Good morning from Wisconsin,
One of our MSP clients wants to access his company's website, which is hosted on a VM in the same LAN, using the WAN IP address. To be clear, the website is accessible externally from the WAN IP address on port 80, and we have been unable to convince him to use the FQDN instead, which resolves correctly to the LAN IP address when in the LAN and the WAN IP address when outside the LAN.
Would this somehow be possible via filter and dst-nat rules in the nat table?
Thank you in advance,
Isaac Grover
One of our MSP clients wants to access his company's website, which is hosted on a VM in the same LAN, using the WAN IP address. To be clear, the website is accessible externally from the WAN IP address on port 80, and we have been unable to convince him to use the FQDN instead, which resolves correctly to the LAN IP address when in the LAN and the WAN IP address when outside the LAN.
Would this somehow be possible via filter and dst-nat rules in the nat table?
Thank you in advance,
Isaac Grover