adrianmihalko / raspberrypiwireguard

Install and configure WireGuard on Raspberry Pi (and others)
840 stars 77 forks source link

Run command/script when peers connect #48

Open ElVasquito opened 3 years ago

ElVasquito commented 3 years ago

Is it possible to run a script when a client makes a successful connection to the server? Fail2ban would be ideal for this, but I found no logs for Wireguard. Any workarounds to achieve this? TIA