Prevent multiple login with the same certificate

Scripts to manage certificates or generate config files

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

Post Reply
Atzos
OpenVpn Newbie
Posts: 2
Joined: Tue Oct 27, 2015 9:16 am

Prevent multiple login with the same certificate

Post by Atzos » Tue Oct 27, 2015 10:46 am

Hi.
I'm wondering if there's a way to block a connection coming from a client having the same cert of an already connected client, before the connection has been enstablished.
Reading the config doc I saw the default behaviour is dropping an already connected client when a new client connects using the same certificate, but this is not what I'm looking for.

Any suggestion?

Atzos
OpenVpn Newbie
Posts: 2
Joined: Tue Oct 27, 2015 9:16 am

Re: Prevent multiple login with the same certificate

Post by Atzos » Wed Oct 28, 2015 3:50 pm

Anyone havnig the same issue here?

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: Prevent multiple login with the same certificate

Post by Traffic » Thu Oct 29, 2015 12:24 pm

I doubt we have the same issue because we do it the right way.

As for your initial question, this cannot be done with stock openvpn.
You could hack the source code or maybe script some weird behavior ..

Post Reply