Starting vpn daemon
This commit is contained in:
parent
6cd292e51a
commit
00d1e643c6
|
@ -121,6 +121,7 @@ function restore_remote_vpn {
|
|||
}
|
||||
|
||||
function remove_vpn {
|
||||
systemctl stop openvpn
|
||||
apt-get -yq remove --purge fastd openvpn easy-rsa
|
||||
if [ -d /etc/openvpn ]; then
|
||||
rm -rf /etc/openvpn
|
||||
|
@ -297,7 +298,7 @@ y
|
|||
create_user_vpn_key $MY_USERNAME
|
||||
|
||||
firewall_enable_vpn
|
||||
systemctl openvpn start
|
||||
systemctl start openvpn
|
||||
|
||||
APP_INSTALLED=1
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue