OpenVPN multiple client fail
Posted: Sun Mar 10, 2013 6:35 am
Hello All,
My apologies if this has come up previously, I was unable to find help anywhere on this. For some reason my OpenVPN server is acting strangely.
1. If I have not connected to it in a while then it will have no issues at all.
2. if I disconnect and reconnect it will fail
3. if I try to connect multiple users simultaneous it will fail
4. if I try to connect any user too soon after another has disconnected it will fail
this is a problem, and I can't find out where my issues are, I will post the server.conf below:
mode server
#tls-server
local 192.168.10.119 ## ip/hostname of server
port 1194 ## default openvpn port
proto udp
#bridging directive
dev tap0 ## If you need multiple tap devices, add them here
up "/etc/openvpn/up.sh br0 tap0 1500"
down "/etc/openvpn/down.sh br0 tap0"
persist-key
persist-tun
#certificates and encryption
ca /etc/openvpn/ca.crt
cert /etc/openvpn/laptop-laz.crt
key /etc/openvpn/laptop-laz.key # This file should be kept secret
dh dh1024.pem
#tls-auth ta.key 0 # This file is secret
cipher BF-CBC # Blowfish (default)
comp-lzo
#DHCP Information
ifconfig-pool-persist ipp.txt
server-bridge 192.168.10.119 255.255.255.0 192.168.10.50 192.168.10.99
push "dhcp-option DNS 209.250.128.6"
#push "dhcp-option DOMAIN yourdomain.com"
max-clients 20 ## set this to the max number of clients that should be connected at a time
#script security settings
script-security 3 system
#log and security
user nobody
group nogroup
keepalive 10 120
status openvpn-status.log
verb 7
My apologies if this has come up previously, I was unable to find help anywhere on this. For some reason my OpenVPN server is acting strangely.
1. If I have not connected to it in a while then it will have no issues at all.
2. if I disconnect and reconnect it will fail
3. if I try to connect multiple users simultaneous it will fail
4. if I try to connect any user too soon after another has disconnected it will fail
this is a problem, and I can't find out where my issues are, I will post the server.conf below:
mode server
#tls-server
local 192.168.10.119 ## ip/hostname of server
port 1194 ## default openvpn port
proto udp
#bridging directive
dev tap0 ## If you need multiple tap devices, add them here
up "/etc/openvpn/up.sh br0 tap0 1500"
down "/etc/openvpn/down.sh br0 tap0"
persist-key
persist-tun
#certificates and encryption
ca /etc/openvpn/ca.crt
cert /etc/openvpn/laptop-laz.crt
key /etc/openvpn/laptop-laz.key # This file should be kept secret
dh dh1024.pem
#tls-auth ta.key 0 # This file is secret
cipher BF-CBC # Blowfish (default)
comp-lzo
#DHCP Information
ifconfig-pool-persist ipp.txt
server-bridge 192.168.10.119 255.255.255.0 192.168.10.50 192.168.10.99
push "dhcp-option DNS 209.250.128.6"
#push "dhcp-option DOMAIN yourdomain.com"
max-clients 20 ## set this to the max number of clients that should be connected at a time
#script security settings
script-security 3 system
#log and security
user nobody
group nogroup
keepalive 10 120
status openvpn-status.log
verb 7