Hi to all,
I'm getting problems with my OpenVPN Server.
If I have to restart it or the remote client has to restart I get many problems getting the client to connect because it tries to establish sooo many connections concurrently and so "locks" my server (low cpu power) which can't establish neither one of those plenty attempts (15-20...and growing...for ONE client)! How can I change the client's behaviour? Or how can I change the server to immediately close all older works on a single IP to establish only the latter connection?
Oh, btw, I'm using UDP, if this is useful!
Thanks.
One allowed connection per IP, last one closes older attempt
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 15
- Joined: Wed Feb 02, 2011 7:03 pm
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: One allowed connection per IP, last one closes older att
hi there,
please post client/server configs if you want to help you..
cheers,
michael.
please post client/server configs if you want to help you..
cheers,
michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: One allowed connection per IP, last one closes older att
Try adding
to the server config : this allows only a single connection (first parameter) per second (second parameter).
Code: Select all
connect-freq 1 1
-
- OpenVpn Newbie
- Posts: 15
- Joined: Wed Feb 02, 2011 7:03 pm
Re: One allowed connection per IP, last one closes older att
Forgot to say thanks, sorry!
In the meantime I've chosen to upgrade to another tiny but a lot faster device and I didn't need to do this modification to make it work as expected.
I'm just having a lot of
In the meantime I've chosen to upgrade to another tiny but a lot faster device and I didn't need to do this modification to make it work as expected.
I'm just having a lot of
andread UDPv4 [ECONNREFUSED]: Connection refused (code=146)
in the logs for an unknown reason but I'll open another thread for this!read UDPv4 [EHOSTUNREACH|EHOSTUNREACH|EHOSTUNREACH]: No route to host (code=148)