Prevent openvpn client from connecting when in the office
-
Hi,
After I upgraded our pf 1.2.3 to 2.0.1 I noticed that users who have laptops and openvpn clients suddenly connect via openvpn when in the office (the local lan). In 1.2.3 this wasn't the case. I'd like to prevent this as it causes strange issues. If I disable the tap in the Windows networking, things work fine.
Currently the clients are setup to autoconnect. That is they don't open the gui and click connect.
Does anyone have any tips?
Thanks
-
Create a LAN firewall rule which blocks access to pfsense wan address and port that openvpn listens.
Action: block
Protocol: UDP (or tcp if you running openvpn via tcp instead udp)
Source: type > lan subnetDestination: type > Wan address
Destination port range: openvpn's listening portHope this helps.
-
Create a LAN firewall rule which blocks access to pfsense wan address and port that openvpn listens.
Action: block
Protocol: UDP (or tcp if you running openvpn via tcp instead udp)
Source: type > lan subnetDestination: type > Wan address
Destination port range: openvpn's listening portHope this helps.
It worked. :)
Thank you. I should have thought of it.