Does marking a gateway as default mean anything?
-
Hi Folks,
I have a single WAN and a VPN connection which is setup as OPT1.
I have a rule sending traffic from certain clients via the VPN by specifying the gateway. That works.I have the default rule of LAN* to use the default gateway. This however does not seem to make any difference and traffic still goes via the VPN. (Confirmed rule is hit in the logs).
If I change the default GW on the rule and force it to use the WAN then all is well.To me it then seems that default gateway means nothing and the rules will take any gateway.
I am sure there is more to it than that but that is how my noob mind is understanding it. Where am I going wrong?As always, a picture is worth a thousand words.
Gateways
Using default: (Still sending traffic via VPN)
Force WAN gateway - works as-expected.
As always, thanks for any help and guidance.
Fred.
-
I had the same kind of problem of everything going through the VPN instead of through the default gateway. For some reason it works now (I probably rebooted inbetween, but I don't recall anymore). So to me too this is still 'to be discovered'.
-
Glad I am not alone. I thought I was going mad :)
-
When dealing with Interfaces, you often need to reboot.
But YES ! Default GW is important. It defines which GW will be used by your default routing table or by the PFsense itself.