Unique CN but allow duplicate username

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
AdrianPortas
OpenVpn Newbie
Posts: 2
Joined: Thu May 06, 2021 7:17 am

Unique CN but allow duplicate username

Post by AdrianPortas » Thu May 06, 2021 7:44 am

Hi,

I am trying connect to a VPN server with an SSL Certificate and remote login with freeradius. My problem its that I want to allow only 1 active connection per client certificate but allow duplicate login with an username. For instance, connect with the PC and Mobile Phone with different certificates but use only 1 username.

The error message I get is the next:
MULTI: new connection by client 'user1' will cause previous active sessions by this client to be dropped. Remember to user the --duplicate-cn option if you want multiple clients using the same certificate or username to concurrently connect.
If I use the --duplicate-cn option I can login multiple times with the same client certificate and I would like to avoid it.

Its posible to do it? I couldnt find any server option that can fit.

Regards, Adrian.

Post Reply