Hello!
I have a project, where I connect/disconnect numerous times with a single
client to my OpenVPN server within a short time (e.g. 70 connect/disconnects
within 10 minutes).
Now, if I configure a specific lport in the client configuration (anything
between 32768 and 60999), I get a lot of errors that the port is already in use.
"TCP/UDP: Socket bind failed on local address [undef]: Address already in use"
I guess this is because, the port hasn't been made available yet, after the
last OpenVPN process terminated. I terminate the OpenVPN process gracefully and
use `explicit-exit-notify 3` if that makes a difference.
However, I don't seem to have this issue when I don't use the `lport` at all,
and let OpenVPN use the default.
I don't see much of a difference there. Is it the high port number that is used
by `lport`?
Does this even relate the OpenVPN or is it more of an issue of the host
operating system?
I can't use the default `lport`, as I want to be able to start multiple OpenVPN
instances on the client.
Does anyone have an idea, how I could resolve or at least mitigate this issue?
Thanks and kind regards,
SaAtomic
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users