External domain
-
Windows Web Server onsite at the office. When outside of the office it works like it should and the web domain .com is pointed to the static WAN IP of the pfSense WAN port.
How can we have it for the same web domain .com resolved to an internal LAN IP when the DNS query comes to the pfSense firewall? -
@thorsen https://doc.pfsense.org/index.php/Why_can't_I_access_forwarded_ports_on_my_WAN_IP_from_my_LAN/OPTx_networks
Split DNS is the best way to do it.
-
Thank you @KOM ! That works for our domain that starts with www.example.com but we have another one that starts with fb.example.com and for some reason entering fb on hostname all takes in the DNS Resolver but when pinging it does not resolve as the IP entered in the Override.
-
Nevermind, this was my mistake with testing I was trying out different things with the host file as well. Thank you for your help!