Creating two config files for one account

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
Zolik
OpenVpn Newbie
Posts: 1
Joined: Tue Sep 20, 2022 3:38 pm

Creating two config files for one account

Post by Zolik » Tue Sep 20, 2022 3:46 pm

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.

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1052
Joined: Tue Feb 16, 2021 10:41 am

Re: Creating two config files for one account

Post by openvpn_inc » Wed Sep 21, 2022 5:13 pm

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
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply