I have recurring problems with my openvpn connection: I can connect and use it but it crashes (without any obvious notification) after a few minutes. During the first few minutes I can use it normally to connect to IP-restricted servers or use the browser but afterwards any websites load forever and the connections to servers are unresponsive/freezed (but not time-out or broken pipe).
What I have:
- x.ovpn file with some pre-defined settings including three keys/certs from the openvpn provider.
- Fedora 31 (Linux 5.5.8-200.fc31.x86_64)
- installations as recommended here (
sudo dnf -y install openvpn NetworkManager-openvpn NetworkManager-openvpn-gnome)
restorecon -Rv /home/plant42/.cert/(according to here, did not help)
What I tried:
sudo openvpn x.ovpn
- GUI interface (with “import file”)
nmcli connection import type openvpn file x.ovpn; nmcli connection up x
For me, they all result in the same problem which I had in F30 and F31. Sometimes, very rarely (and if I have the passion to wait), the connection comes back for some minutes which seems really weird to me.
I only can use “normal” internet again if I literally kill the openvpn process with
sudo kill -9 $(pgrep openvpn) or reboot.
I thought about bandwidth issues or limiting the vpn usage only to the IP (of a server) that I need at the moment. Both did not help: either it was not the root of the problem or I did a wrong set up.
Could you please help? Please let me know what kind of logs or additional system information are required as I am not good in connection issues.
Thanks a lot!