AVM Fritz!BoxTools: add VPN WG control (on/off)

Hi, it would be great if HA could control the Fritz VPN (in my case WireGuard) and turn it on/off. This way I could use HA to put the VPN control on a button (like the Ikea on/off battery button). My wife would be very happy to not have to log in to Fritz, navigate to VPN menus, to toggle the VPN. Unfortunately, not even the Fritz Android app has a shortcut to the VPN control. Need to log in to Fritz. Thanks a lot for all the great work!

why do you want to switch it on or off? should not the wireguard setting on the device which connects to the fritzbox takes care to switch the vpn on or off?

Deluxestyle is correct, you don’t need to switch WG on/off on your fritzbox.

You setup a WG connection on the fritzbox (once), you use those the associated codes to setup WG on an iPhone/Android phone (need to install WG app for this).

Now with the phone you can establish the vpn connection (switch it on/off), no need to login to your fritzbox anymore.