From 874816cd053cd35d812589bf5d07621a60101c26 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 25 Sep 2017 22:43:50 +0100 Subject: [PATCH] nobody --- src/freedombone-app-vpn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedombone-app-vpn b/src/freedombone-app-vpn index 4c9df8f7..4fcb6abb 100755 --- a/src/freedombone-app-vpn +++ b/src/freedombone-app-vpn @@ -197,7 +197,7 @@ function create_user_vpn_key { cp /usr/share/doc/openvpn/examples/sample-config-files/client.conf $user_vpn_cert_file sed -i "s|remote .*|remote $DEFAULT_DOMAIN_NAME 1194|g" $user_vpn_cert_file sed -i 's|;user nobody|user nobody|g' $user_vpn_cert_file - sed -i 's|;group nogroup|group nogroup|g' $user_vpn_cert_file + sed -i 's|;group nogroup|group nobody|g' $user_vpn_cert_file sed -i 's|ca ca.crt|;ca ca.crt|g' $user_vpn_cert_file sed -i 's|cert client.crt|;cert client.crt|g' $user_vpn_cert_file @@ -248,7 +248,7 @@ function install_vpn { sed -i "s|;push \"redirect-gateway|push \"redirect-gateway|g" /etc/openvpn/server.conf sed -i 's|;push "dhcp-option|push "dhcp-option|g' /etc/openvpn/server.conf sed -i 's|;user nobody|user nobody|g' /etc/openvpn/server.conf - sed -i 's|;group nogroup|group nogroup|g' /etc/openvpn/server.conf + sed -i 's|;group nogroup|group nobody|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