Skip to content

Adds the specified IP address pool to strongSwan through the VICI protocol

License

Notifications You must be signed in to change notification settings

driesmp/dynamicprefixvici

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building

Before building, make sure libvici.h is present, typically shipped with strongSwan.
The following command should do the trick: pkg install strongswan

Usage

Add something like this to /usr/local/etc/dhcpcd.exit-hook

case "$reason" in
BOUND6|RENEW6|REBIND6|REBOOT6|INFORM6)
    prefix=$(printenv new_dhcp6_ia_pd1_prefix1)
    /usr/local/sbin/dynamicprefixvici -p "$prefix" -n "global-ipv6"
esac

About

Adds the specified IP address pool to strongSwan through the VICI protocol

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published