From b738afa07a92254b8b8c8060c70d1a5ce594c201 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 26 Sep 2017 17:12:47 +0100 Subject: [PATCH] Extra vpn settings --- src/freedombone-app-vpn | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/freedombone-app-vpn b/src/freedombone-app-vpn index c2715a2a..6bdc1ced 100755 --- a/src/freedombone-app-vpn +++ b/src/freedombone-app-vpn @@ -264,6 +264,9 @@ function install_vpn { sed -i 's|;proto tcp|proto tcp|g' /etc/openvpn/server.conf sed -i 's|proto udp|;proto udp|g' /etc/openvpn/server.conf + sed -i 's|explicit-exit-notify.*|explicit-exit-notify 0|g' /etc/openvpn/server.conf + sed -i 's|tls-auth|;tls-auth|g' /etc/openvpn/server.conf + echo 1 > /proc/sys/net/ipv4/ip_forward sed -i 's|# net.ipv4.ip_forward|net.ipv4.ip_forward|g' /etc/sysctl.conf sed -i 's|#net.ipv4.ip_forward|net.ipv4.ip_forward|g' /etc/sysctl.conf