[strongSwan] swanctl.conf and DHCP plugin

Laurent Bouchard Laurent.Bouchard at radio-ip.com
Tue Feb 2 23:09:46 CET 2016


Hi,
               I configured something similar to the swanctl/ip_pool setup (https://www.strongswan.org/testing/testresults/swanctl/ip-pool/index.html).
It works, but I wonder how I can use and configure the DHCP plugin (https://wiki.strongswan.org/projects/strongswan/wiki/Dhcpplugin) for a connection.
In other words what is the equivalent of ipsec.conf "rightsourceip=%dhcp" in /etc/strongswan/swanctl/swanctl.conf?

Note: I noticed and tried "pools.<name>.<attr>"  with attr as "dhcp". But this seems to configure something else (INTERNAL_IP4_DHCP which the strongswan client does not support). Also the "addrs" field was still mandatory in the pool and the gateway seemed to take the first address in the range/CIDR anyways.

Should I just use ipsec.conf instead? I just noticed that the vici plugin is experimental in the plugin list ...

Thanks,
Laurent

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20160202/19b0893f/attachment.html>


More information about the Users mailing list