andrei.giubleanu
Hello fellow comrades,
I am new on this topic, so please be understandful. I have setup a VPN server that will be serving aprox 240 clients. The setup worked , when there were a few dozens of machines connected, but when trying to connect more that 200 clients, not all clients can connect. The clients are mixed *NIX/WIN machines. For example a Windows client that is unable to connect lists the following error:
[oconf=]
ROUTE_GATEWAY 10.109.254.1/255.255.255.0 I=3 HWADDR=40:8d:5c:5b:08:30
Thu Oct 20 12:43:44 2016 us=5822 OpenVPN ROUTE: OpenVPN needs a gateway parameter for a --route option and no default was specified by either --route-gateway or --ifconfig options
Thu Oct 20 12:43:44 2016 us=5822 OpenVPN ROUTE: failed to parse/resolve route for host/network: 10.8.0.1[/oconf]
I managed to bypass the Windows client error, only if i restart the openvpn service.
So, in the end, i want to ask if i need to change my server config file, or if there is a parameter somewhere that limits the maximum number of clients connected. Thank you for your kindness.
I have attached the server config file bellow:
[oconf=]
port 1194
proto udp
dev tun
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/server.crt
key /etc/openvpn/keys/server.key
dh /etc/openvpn/keys/dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 10.8.0.0 255.255.255.0 10.8.0.1"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 6
[/oconf]