Problem with routing traffic to a different gateway
nwx last edited by
First of all, sorry for my bad english !
I try to configure PFsense (last version) to have the following purpose.
I wish that my clients in VLAN 1 contact the website (call here, toto.com) through my private network.
I've made the following step to configure PFsense.
I configure my private gateway (192.168.0.251),
set a static route (i don't know if this is required) and implement a firewall rule (for VLAN 1 zone) for redirecting the website traffic of the VLAN 1 client through the private GW.
But it's actualy not working and i don't understand why. All internet surf of the client seems to be redirected on the default gateway.
When i make some traceroute from a client, it indicate the good path.
ex1 : traceroute to an internet site.
ex2 : traceroute to my specific website :
surf on the website indicate I'm connecting from the public IP of my default gateway not my private GW :
(all the tests is made from the same PC).
Do you have any ideas of what going wrong ?
Thank you for yours tips or answers.
viragomann last edited by
Have you restarted the browser session or reset the states on pfSense?
tracert is not representative here, cause it uses ICMP and you have allowed this traffic in your first rule on this interface.
You may move your policy routing rule up to the top of the rule set, so that it is applied for ICMP packets as well.
Since you have enabled logging in all of the rules, check the filter log to get an idea which rule allows the traffic. Maybe a floating rule?