Provision your VPN with Infrastructure as Code manner
I've built a tool for myself to easily backup and provision the VPN. The basic idea is to recursively GET all config from a VPN and write it down into a single JSON file, and you can do it reversely to provision the VPN (event after you modified the JSON file).
Please access https://github.com/flyisland/sempv2 to get this tool, hope it could be useful for you too!
Feedbacks are welcome (in here or in the github issues).