I can connect to OpenVPN with no errors, but after a couple of minutes, the connection drops - again no error shown in /var/log/messages. Then the OpenVPN prompt asks me to login again after about 5 minutes.
The only error I have found is this in /var/log/secure:
gateway openvpn: pam_unix(openvpn:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=jthomann
I am on OpenVPN 2.4.6
EDIT: I guess the issue was that I couldn't be logged into the VPN on more than one pc.
The only error I have found is this in /var/log/secure:
gateway openvpn: pam_unix(openvpn:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=jthomann
I am on OpenVPN 2.4.6
EDIT: I guess the issue was that I couldn't be logged into the VPN on more than one pc.
In VPN
Share this post:
Responses (5)
-
Accepted Answer
Examine the OpenVPN logs for any additional error messages or warnings. The logs are typically located in /var/log/openvpn.log or /var/log/syslog. Look for clues as to why the connection is dropping.wordle -
Accepted Answer
A warning would appear in the connection logs, as well as frequent disconnects. geometry dash scratch -
Accepted Answer
-
Accepted Answer
And there would be a warning in the connection logs as well as frequent disconnects. It is possible to circumvent it by adding an extra parameter to the /etc/openvpn/clients.conf file, however doing so is not often advised and will cause issues if you do. When you're on the go, utilize a mobile device like a phone with it. With OpenVPN, your IP address will continually changing, and if you have open files, the server may lock them because it believes another device has opened them. Retro Bowl College -
Accepted Answer
Yes that would cause frequent disconnects and a warning in the connection logs. It is possible to get round it with an extra parameter in the /etc/openvpn/clients.conf but is not generally recommended and will give problems if you ever use it use it with a mobile device such a as a cell phone when on the move. You will keep getting a new IP address from OpenVPN and if you have open documents you will end up with file locks as the server thinks they have been opened by a different device.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »