Remove stunnel daemon
This commit is contained in:
parent
063bcca516
commit
acd6db9a6c
|
@ -253,6 +253,10 @@ function restore_remote_vpn {
|
||||||
}
|
}
|
||||||
|
|
||||||
function remove_vpn {
|
function remove_vpn {
|
||||||
|
systemctl stop stunnel
|
||||||
|
systemctl disable stunnel
|
||||||
|
rm /etc/systemd/system/stunnel.service
|
||||||
|
|
||||||
systemctl stop openvpn
|
systemctl stop openvpn
|
||||||
if [ $VPN_TLS_PORT -ne 443 ]; then
|
if [ $VPN_TLS_PORT -ne 443 ]; then
|
||||||
firewall_remove VPN-TLS $VPN_TLS_PORT
|
firewall_remove VPN-TLS $VPN_TLS_PORT
|
||||||
|
|
Loading…
Reference in New Issue