diff options
Diffstat (limited to 'share/provision/njalla-wireguard')
-rwxr-xr-x | share/provision/njalla-wireguard | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/share/provision/njalla-wireguard b/share/provision/njalla-wireguard index fe3d7fe..df364bf 100755 --- a/share/provision/njalla-wireguard +++ b/share/provision/njalla-wireguard @@ -30,13 +30,13 @@ APT_INSTALL="sudo LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -y" $DIRNAME/wireguard $HOSTNAME $DOMAIN $MIRROR # Firewall -#$APT_INSTALL ferm ulogd2 ulogd2-pcap -#sudo cp $DIRNAME/files/njalla-wireguard/etc/ferm/ferm.conf /etc/ferm -#sudo cp $DIRNAME/files/njalla-wireguard/etc/udev/rules.d/81-vpn-firewall.rules /etc/udev/rules.d -#sudo cp $DIRNAME/files/njalla-wireguard/usr/local/bin/fermreload.sh /usr/local/bin -#sudo chmod 555 /usr/local/bin/fermreload.sh -#sudo sed -i -e 's/^ENABLED=.*$/ENABLED="yes"/' /etc/default/ferm -#sudo service ferm restart +$APT_INSTALL ferm ulogd2 ulogd2-pcap +sudo cp $DIRNAME/files/njalla-wireguard/etc/ferm/ferm.conf /etc/ferm +sudo cp $DIRNAME/files/njalla-wireguard/etc/udev/rules.d/81-vpn-firewall.rules /etc/udev/rules.d +sudo cp $DIRNAME/files/njalla-wireguard/usr/local/bin/fermreload.sh /usr/local/bin +sudo chmod 555 /usr/local/bin/fermreload.sh +sudo sed -i -e 's/^ENABLED=.*$/ENABLED="yes"/' /etc/default/ferm +sudo service ferm restart # Njalla echo "Please configure /etc/wireguard/ng0.conf" |