G'day :mrgreen:
First, thank you to the devs for creating such a marvelous product and providing it for free to the world 😃
Could I ask politely for a little help?
I'll write as short as possible, for your reading convenience.
SYSTEM
1. pfSense 2.1.5, using built in OpenVPN-client to connect
certain LAN-'puters to
certain websites via PrivateInternetAccess.com.
2. pfSense setup exactly like in this tutorial:
https://forum.pfsense.org/index.php?topic=76015.0, with extra options added:
auth-user-pass /etc/openvpn-password.txt;remote-cert-tls server;verb 5;keepalive 5 30;route-nopull;
3. Firewall rules logic: RULE1: a group of websites (combined in a group, called an 'alias') is to be visited via the VPN (for example: google.com). RULE2, after that in the settings: all other traffic (for example to openvpn.net) is to use the defaullt, unencrypted, gateway out to the internets.
PROBLEM
OpenVPN randomly decides to send
other traffic over the VPN too. Which causes problems with security systems on the internet, which don't recognize the originating IP as 'the usually used IP'.
ADVISED
- Over at the pfSense forum I was advised to add the route-nopull to the advanced settings. However, doing that gives this back in the OpenVPN log in the pfSense GUI:
openvpn[19546]: Options error: option 'route' cannot be used in this context ([PUSH-OPTIONS])
openvpn[19546]: Options error: option 'dhcp-option' cannot be used in this context ([PUSH-OPTIONS])
openvpn[19546]: Options error: option 'redirect-gateway' cannot be used in this context ([PUSH-OPTIONS])
To be honest, I have no clue what this means :oops:
In that same pfSense tutorial thread, I noticed other users use:
--route-noexec
Which, according to my understanding of this (little understanding, I admit, I am not that bright :mrgreen: ):
https://unix.stackexchange.com/questions/16500/how-to-refuse-routes-that-are-pushed-by-openvpn-server
Would be quit the opposite of route-nopull.
QUESTION
So, I am a little lost as to how to solve my problem. route-nopull gives an error, and perhaps it even is not the right solution to my problem(?)
Would anybody perhaps be willing to help me out? I am in your debt already 😉
Thank you in advance very much,
Bye,