[strongSwan] Virtual IPs range - but clients get the same one - problem

lejeczek peljasz at yahoo.co.uk
Fri Dec 21 12:37:13 CET 2018


hi guys

a novice here with most likely "regular" question: roadwariors get all 
the same single IP, why?

Snippet of the server side:

     dpdaction=clear
     dpddelay=300s
     rekey=no
     left=%any
     leftfirewall=yes
     leftsubnet=10.3.1.0/24
     #leftsubnet=0.0.0.0/0
     leftcert="vpnserver.cert.der"
     right=%any
     rightdns=10.3.1.99
     rightdomain="mydom.local"
     #rightsourceip=10.3.1.0/24
     rightsourceip=10.3.1.220-10.3.1.225
     #rightsourceip=%dhcp
     auto=add

and clients':

   leftsourceip=%config
   leftcert="my.cert.der"
   leftfirewall=yes

And all, well, two, three clients I connect (at the same time) get the 
same 10.3.1.220 IP, why?

many thanks, L.



More information about the Users mailing list