Restrict OpenVPN to certain local IPs



  • I have searched for this information all over and have had no luck. I noticed you could not do this in 1.2.3 but figured you must be able to do it in 2 because of all the extra features. I am using the road warrior configuration.

    I have two OpenVPN servers running in pfsense, both work. One OpenVPN server is for unfettered access to the internal LAN, the second only needs access to one IP on the network. Is there a way to do this and not effect the other VPN? They are on different external subnets.



  • ???

    Isn't it as simple as setting up rules on the OpenVPN tab in the rules section? I really do not understand the problem here…


  • Rebel Alliance Developer Netgate

    Rules on the OpenVPN tab should do it… Or you could also assign the OpenVPN interface as an OPT interface and put rules on each one individually, but that shouldn't really be needed just for this.


Locked