jawj / IKEv2-setup

Set up Ubuntu Server 20.04 (or 18.04) as an IKEv2 VPN server
1.35k stars 338 forks source link

How to allow only one connection per client (ikev2) #134

Closed amirdana closed 2 years ago

amirdana commented 2 years ago

Im trying to use Ikev2 script to make vpn clients

is there a way to not allow more than one connection per certificates that i create with the ikev2.sh

jawj commented 2 years ago

I think you need to amend the script at line 255 to set uniqueids=yes. You can check the strongSwan docs on this.