Jump to content
  • 0

Strange openvpn behaviour - tunnel not restarting and stalling frequently.


artemeciagreen
 Share

Question

My openpn tunnel frequently becomes unusable. At irregular intervals, data ceases to be able to pass through the tunnel. It does not restart, instead it waits a seemingly random amount of time (minutes) before eventually data can pass through again. However this behaviour does not apply to my bittorent client, which is unaffected by the network outage. It continues to send data through the tunnel, preventing it from restarting. I am using QBittorrent and have it configured to only talk on tun0. My openvpn.conf is as follows:

client
dev tun0
remote de.mullvad.net 1300 udp
cipher AES-256-CBC
tun-ipv6
resolv-retry infinite
nobind
comp-lzo
verb 1
log /etc/openvpn/openvpn.log
remote-cert-tls server
ping 10
ping-restart 12
ping-timer-rem
script-security 2
mute-replay-warnings
(embedded certificates omitted)
Changing the ping-restart values has no effect on tunnel uptime either, which is always exactly 2 minutes in duration. The ping-restart value only seems to represent how long I have to wait for it to restart when openvpn notices the tunnel isn't working, rather than what it is actually for. I would provide my log, but it's not very telling at all, all of the log entries are normal, regardless of the verbosity.
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...