Multiple static ip's per certificate

Scripts to manage certificates or generate config files

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

Post Reply
marco208
OpenVpn Newbie
Posts: 6
Joined: Tue Mar 22, 2016 5:29 pm

Multiple static ip's per certificate

Post by 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

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Multiple static ip's per certificate

Post by TinCanTech » Sun Feb 12, 2017 9:14 pm

See --duplicate-cn in The Manual v24x

YMMV

Post Reply