I made an initial attempt to package strongswan, I got it to a point where everything builds and runs fine in devmode, the charon service starts on install with the default configuration shipped by upstream.
Since I’m not super familiar with IPSec VPNs and their setup, I’m asking for some help here from someone more knowledgeable than me to finish the snap…
The whole configuration lives in /var/snap/strongswan/current/etc after install in case you want to help and tinker with it.
Scripts and tools are shipped as:
The service can be controlled via systemctl as:
The code can be found at:
UPDATE: I had to rename the experimental snap to strongswan-ogra since the strongswan name is already registered.
UPDATE2: the package is now in the store in the edge channel, you can install it via:
snap install --devmode --edge strongswan-ogra
any feedback in this thread is appreciated.