RaspAP / raspap-webgui

Simple wireless AP setup & management for Debian-based devices
https://raspap.com/
GNU General Public License v3.0
4.42k stars 783 forks source link

Hard block if OpenVPN / Wireguard go offline (ie authentication or error) #1413

Open frankoz95967943 opened 11 months ago

frankoz95967943 commented 11 months ago

Is your feature request related to a problem?

Love this software. I noticed the other day RASPAP came up, but openvpn did not. RASPAP allowed connections and worked even tho openvpn had an error (the password had changed)

Describe the solution you'd like

Admin option of "Block connections if VPN is in error/disconnected status" and an autoretry every couple minutes (admin config) Show alert on main page that VPN is having problems Send email that vpn is having problems

Describe alternatives you've considered

Shell script to stop raspap service if OpenVPN had an error on connect / not connected

billz commented 10 months ago

Something along these lines? https://docs.raspap.com/wireguard/#kill-switch