Multiple static ip's per certificate

Scripts to manage certificates or generate config files
marco208
OpenVpn Newbie
Posts: 6
Joined: Tue Mar 22, 2016 5:29 pm

Multiple static ip's per certificate

Postby marco208 » Sun Feb 12, 2017 7:52 pm

Hi,

I'm looking to configure my openvpn server to allow multiple connections with the same certificate. I use net30 now and redirect the traffic from 10.8.2.0/24 to public ip 1, 10.8.3.0/24 to public ip 2,10.8.4.0/24 to public ip 3.

The thing is, i've set 4 certificates to use public ip 1 on the 10.8.2.0/24 range but sometimes one of the certificates becomes active on 2 locations, such as phone and laptop. When they connect the second time the first one loses its connection because the new connection gets the fixed IP pushed.

Is this even possible?

TL;DR: Need solution to set address pool per certificate.

Thanks!

Marco

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 2720
Joined: Fri Jun 03, 2016 1:17 pm

Re: Multiple static ip's per certificate

Postby TinCanTech » Sun Feb 12, 2017 9:14 pm

See --duplicate-cn in The Manual v24x

YMMV


Return to “Cert / Config management”

Who is online

Users browsing this forum: No registered users and 3 guests