Outbound NAT to a specific URL
-
Hello all,
I am trying to figure out how to assign a specific outbound IP address on my WAN when local network users visit a particular web site. I know how to establish outbound NAT for a network but not sure how to use it only when LAN users route to a particular url. I'm not even sure it is possible.Thanks.
-
@akessler
In the outbound NAT rule you can use networks, single IPs or aliases, all in CIDR notation. So for single IPs and aliases set a /32 network mask. -
@viragomann
I may be missing something but I do not think this solves my problem. You are defining a simple outbound NAT rule either for a network or a single host. I am asking if it is possible (and how) to assign an Outbound NAT rule when browsing to a specific external URL. I have created an alias for the URL which pfSense has accepted. I do not see how to apply that to the Outbound NAT rule. -
@akessler
You can state this alias as destination in the outbound NAT rule as mentioned above. -
@viragomann
Just wanted to let you know I was able to get this done. I remember a long time ago a list of aliases would show up in some of the fields (since I am using the GUI). I modified the alias to be hosts and that worked when I added the alias as the destination in the Outbound NAT rule.
Thank you for your input.