Redirect outbound connections
-
Hi.
How I can redirect to 192.168.100.1 (an IP address in the LAN network) all connections made from the LAN network and directed to the WAN IP address on the 443 port?I tried to make a manual outbound NAT rule but it didn't work.
Could you help me please?
Thank you very much!
Bye. -
I don't think you can. I seem to recall there is a restriction that you can't have pf operate on a packet that comes in interface X and then would go back out that same interface. If you are trying to redirect LAN hosts trying to go to some web server behind pfsense, use split dns (e.g. hosts inside the LAN see a different IP address than outside ones.) Alternatively, if 192.168.100.1 happens to be the same webserver you port-forward https to, then enable NAT reflection, but split dns is a better way.