Multiple connection profiles

How to customize and extend your OpenVPN installation.
Post Reply
simo_zz
OpenVpn Newbie
Posts: 5
Joined: Thu May 13, 2021 9:24 am

Multiple connection profiles

Post by simo_zz » Thu May 13, 2021 9:38 am

Hello,

I am in a situation where I need to use two client connections profile on my workstation:

VPN client #1: authentication using certificates (already working).
VPN client #2: authentication using username, password, server IP and domain (pending setup).

Each client pertain to a different network.
As I understand (please correct me if I am wrong), I could use one configuration for both, but I cannot find any example about how to add setup the client #2.

Do you have any suggestion ?
Thanks.
s.

User avatar
TinCanTech
Forum Team
Posts: 9188
Joined: Fri Jun 03, 2016 1:17 pm

Re: Multiple connection profiles

Post by TinCanTech » Thu May 13, 2021 9:57 am

You are wrong ..

simo_zz
OpenVpn Newbie
Posts: 5
Joined: Thu May 13, 2021 9:24 am

Re: Multiple connection profiles

Post by simo_zz » Thu May 13, 2021 10:01 am

Hi, thanks for the point.

Could you please elaborate more your reply ?
Could I achieve this setup ?

Thanks.
s.

User avatar
TinCanTech
Forum Team
Posts: 9188
Joined: Fri Jun 03, 2016 1:17 pm

Re: Multiple connection profiles

Post by TinCanTech » Thu May 13, 2021 11:12 am

Elaborate on what ?

simo_zz
OpenVpn Newbie
Posts: 5
Joined: Thu May 13, 2021 9:24 am

Re: Multiple connection profiles

Post by simo_zz » Thu May 13, 2021 11:51 am

You wrote that I am wrong. Wrong on what ?

User avatar
TinCanTech
Forum Team
Posts: 9188
Joined: Fri Jun 03, 2016 1:17 pm

Re: Multiple connection profiles

Post by TinCanTech » Thu May 13, 2021 12:05 pm

You cannot use one file to connect to two different servers.

simo_zz
OpenVpn Newbie
Posts: 5
Joined: Thu May 13, 2021 9:24 am

Re: Multiple connection profiles

Post by simo_zz » Thu May 13, 2021 12:09 pm

OK. So you know how can I setup the environment that I need, or this is a top secret information ?

s.

User avatar
TinCanTech
Forum Team
Posts: 9188
Joined: Fri Jun 03, 2016 1:17 pm

Re: Multiple connection profiles

Post by TinCanTech » Thu May 13, 2021 12:12 pm

I don't have enough information to go on ..

Please start here:
viewtopic.php?f=30&t=22603

simo_zz
OpenVpn Newbie
Posts: 5
Joined: Thu May 13, 2021 9:24 am

Re: Multiple connection profiles

Post by simo_zz » Thu May 13, 2021 12:15 pm

OK, you don't know how to solve this problem.

Thanks.
s.

User avatar
TinCanTech
Forum Team
Posts: 9188
Joined: Fri Jun 03, 2016 1:17 pm

Re: Multiple connection profiles

Post by TinCanTech » Thu May 13, 2021 12:24 pm

simply use two files .. you can run openvpn more than once.

Post Reply