[strongSwan] Static virtual ip leases using sql + attr-sql plugins

roberto.velasquez at avantica.net roberto.velasquez at avantica.net
Wed Nov 26 19:01:24 CET 2014


Hi all,
 
I am using the strongswan sql plugin + the attr-sql plugin to assign virtual ip addresses to ipsec clients. It is very important the virtual ip addresses are statically leased and will never change. Currently I am assigning virtual ip addresses from the address pool by assigning ip addresses in the pool to specific identities. The problem is the client will sometimes use the assigned virtual ip (matching identities) but sometimes I find that the plugin will assign another free virtual ip address when the connection is dropped and the client tries to reconnect. The clients currently have their leftsourceip set to %any.
 
Is there any way I can configure the sql plugin to always assign the same virtual ip address to a given identity?
 
Thanks and regards,
- Roberto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20141126/b73c979d/attachment.html>


More information about the Users mailing list