vx3r / wg-gen-web

Simple Web based configuration generator for WireGuard
https://wg-gen-web-demo.127-0-0-1.fr
Do What The F*ck You Want To Public License
1.59k stars 191 forks source link

feature : run a custom script for deploying generated configuration on remote servers #90

Open dginhoux opened 3 years ago

dginhoux commented 3 years ago

Hi,

I use WG on 3 servers, with a keepalived VIP. So i have to sync the conf generated with this great UI and my servers. Today i use a custom ansible playbook, launched manually.

I'm working on a custom docker "cron" image for sync this conf with my WG servers.... it look for file change, and if changed it deploy... not very optimized.

I think a feature to run a custom command after each config commit can be great to interact with remote WG servers.

Have a good day