I have successfully installed openvpn3 linux client debian package on my ubuntu bionic desktop. I am using a config that has an lport directive which I have to use to make a successful connection but when I invoke openvpn3 with that config the lport directive is ignored. See log below, it shows the lport directive as being unused and while connecting it uses lport of 53191 instead of the one I specified 58137.
2021-10-22 17:55:47 Client DEBUG: UNUSED OPTIONS
4 [resolv-retry] [infinite]
5 [lport] 
10 [verb] 
2021-10-22 17:55:47 Client VERB2: Resolving
2021-10-22 17:55:47 Client DEBUG: Contacting 184.108.40.206:53191 via UDP
2021-10-22 17:55:47 Client VERB1: Waiting for server response
2021-10-22 17:55:47 Client DEBUG: Connecting to [220.127.116.11]:53191 (18.104.22.168) via UDPv4
I have tried invoking openvpn3 with sudo access and the behavior is still the same, lport is ignored.
Note that if I use the regular openvpn v2.4.4 and invoke it with sudo access then the lport directive is honored and the connection succeeds. Anyone have any idea why the new and improved latest version of openvpn ignores the lport directive? Is there a way to make it honor the lport directive?
This forum is for general conversation and user-user networking.
2 posts • Page 1 of 1
- Forum Team
- Posts: 9982
- Joined: Fri Jun 03, 2016 1:17 pm
Yes, it is ignored.