Jump to content
funtoo forums
  • 0
Sign in to follow this  
artemeciagreen

Strange openvpn behaviour - tunnel not restarting and stalling frequently.

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.

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

Guest
You are commenting as a guest. If you have an account, please sign in.
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×