diff --git a/src/freedombone-app-vpn b/src/freedombone-app-vpn index 4fcb6abb..d48de147 100755 --- a/src/freedombone-app-vpn +++ b/src/freedombone-app-vpn @@ -249,6 +249,7 @@ function install_vpn { 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 nobody|g' /etc/openvpn/server.conf + sed -i 's|;max-clients.*|max-clients 2|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