Block access to openvpn from LAN
-
Hi
A simple problem, that i can't figure out. How to block openvpn connection from lan. OPENVPN server is set to run on wan interface, tried different blocking rules, but none of them worked. If clients come to lan network, vpn will be connected.
-
A simple block rule on LAN interface should do the job. Bear in mind that the destination IP has to be the WAN IP which the OpenVPN server is listening to.
-
So you have your road warriors with some sort of auto connection, and then they come into the office and auto connect to your vpn on your wan IP?
If that is the case, then sure simple block on your lan to your wan IP and vpn port(s) your listening on stops that.
-
Thank you, problem solved :)
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.