Redirect Rule
-
Are there any plans for a redirect rule that could be applied just like a firewall rule?
-
Firewall -> NAT
-
How would I setup a rule to redirect all outbound DNS (tcp/udp 53) to a specific DNS server?
-
you would use policy based routing, just put the rules in at the top of the list
-
In NAT? Because the regular firewall rules only allow choosing a different gateway.
-
Should be able to accommodate this with a LAN port forward. Might have to forward to the LAN IP to use the caching DNS server, and point it to which ever server you want internal clients to use.
-
So would this catch all outbound dns traffic, or just traffic directed towards the LAN IP of the pfSense box?
-
that would catch all outbound traffic. There's another problem there because we don't allow policy NAT, the DNS requests from your DNS server itself will also be redirected back to itself unless it's on a different interface of the firewall.
-
That won't be a problem because the DNS server does reside on another network. Thank you for the help. I will try it out when I get a chance and post results.