Hi Victor, > We enabled sql plugin, compiled the sources and found out that leases > are stored in DB upon release, > > as a history, not as runtime as it presented via CLI
What do you mean? Also, virtual IPs are actually provided by the attr-sql plugin not the sql plugin (it's not necessary to use the sql plugin, configs in ipsec.conf or swanctl.conf may refer to pools provided by the attr-sql plugin). > - How can we get connection info upon tunnel establishment? (except CLI, > DB? any API?) What connection info? Did you already have a look at the VICI protocol [1]? > - Can we assure multiple VPN servers configured to work with the same > pool in common DB will assign unique virtual IPs? Yes, if they use the same DB the leases will be unique. Regards, Tobias [1] https://wiki.strongswan.org/projects/strongswan/wiki/Vici _______________________________________________ Users mailing list [email protected] https://lists.strongswan.org/mailman/listinfo/users
