Skip to content
Snippets Groups Projects
Commit 00d1e643 authored by Bob Mottram's avatar Bob Mottram
Browse files

Starting vpn daemon

parent 6cd292e5
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment