No internet connection on OPT1 when using OpenVPN client on pfSense
-
Hey,
I am struggling with a strange behaviour on my pfSense.
Setup looks like this:
LAN - 192.168.178.0/24
OPT1 - 10.11.12.0/24I use a VPN provider to route my LAN traffic through the VPN, this works as expected.
The subnet on OPT1 is declared as my dirty web, for IoT shit and WiFi, this traffic should go directly through my WAN interface.I setup outbound NAT rules, see here:
According to the rules the traffic from 192.168.178.0/24 is translated to my VPN provider (Mullvad interface) and the traffic from 10.11.12.0/24 to my WAN provider.
And here is the problem, when I am connected to the VPN there is no more traffic on the OPT1 interface, I can't even ping from the interface to the internet. When I am not connected to the VPN I can surf the web on OPT1 with no problems at all.
I additionally set a gateway on the firewall rules for OPT1 (which is called VLAN2 here, I just named it OPT1 here to be more clear):
What am I missing? I think this has something to do with the outbound NAT rules but I don't see the point right now. Any ideas??
Thanks
Dan
-
Not sure why, but it works now lol.