Forward external DNS while inside network
-
Hi guys,
Noob question here.
I have a dns and I can sucessefully create the NAT rulles to forward the traffic per port, if I'm out of home.
When I'm home, connected to my internal network, how can I setup to forward the traffic to each port if I keep using the external dns?Thanks in advance.
-
I assume you mean you have a DynDNS address and you want to access some internal resource using it's external FQDN?
In which case use either split-DNS or NAT reflection. See:
https://docs.netgate.com/pfsense/en/latest/recipes/port-forwards-from-local-networks.htmlSteve
-
Normally, you get the external DNS and then add host overides for the local stuff. I use the DNS Resolver, but you can also use the forwarder instead. Either way, you get external DNS.
-
Hi Steve,
That's exactly what I need.
I have a Dyndns adress and I have several services in different network adresses, which externally are forwarded by port. I want to access them internally as if I was outside. -
Then, yeah, follow that doc. Split-DNS is generally preferred if all you local devices can use it.
Steve