@@ -253,6 +253,10 @@ function restore_remote_vpn {
}
function remove_vpn {
+ systemctl stop stunnel
+ systemctl disable stunnel
+ rm /etc/systemd/system/stunnel.service
+
systemctl stop openvpn
if [ $VPN_TLS_PORT -ne 443 ]; then
firewall_remove VPN-TLS $VPN_TLS_PORT