Page 1 of 1

Creating two config files for one account

Posted: Tue Sep 20, 2022 3:46 pm
by Zolik
Hello,
I have lot of much profile on open vpn as. Now, I want to have two config files for every acount like this:
user-minimal.ovpn - I would like this conf file to route only sites with company domain to vpn. (so that the vpn doesn't overload the server all the time)
user-full.ovpn - Here, I would like, thsi conf file route to vpn all of network traffic from client.

Is here somebody, who knows how to do it please?
Thank you very much for each answer.

Re: Creating two config files for one account

Posted: Wed Sep 21, 2022 5:13 pm
by openvpn_inc
Hello Zolik,

That is not really how this is intended to work. Access permissions are supposed to be granted by the server, and not be randomly configurable on the client side (the client connection profile). What you can do is have a user that has the right to redirect all Internet traffic, and a user that doesn't, and install those 2 separate connection profiles for those 2 separate users in the OpenVPN Connect app. You can then pick which one you want to use.

Kind regards,
Johan