[Bug 1677442] Re: openvpn client breaks on connection loss

2017-06-24 Thread Launchpad Bug Tracker
[Expired for openvpn (Ubuntu) because there has been no activity for 60 days.] ** Changed in: openvpn (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1677442] Re: openvpn client breaks on connection loss

2017-04-25 Thread Paul
also; https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1686254 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1677442 Title: openvpn client breaks on connection loss To manage

[Bug 1677442] Re: openvpn client breaks on connection loss

2017-04-25 Thread Paul
I've split this off to two other bugs as they're separate from eachother; https://bugs.launchpad.net/ubuntu/+source/plasma-nm/+bug/1686251 https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/1686252 -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1677442] Re: openvpn client breaks on connection loss

2017-04-05 Thread Paul
Nope, vpn state still breaks; paulh@Paul-HP-Laptop:~$ tail -f /var/log/syslog Apr 6 11:45:30 Paul-HP-Laptop wpa_supplicant[1218]: wlo1: CTRL-EVENT-CONNECTED - Connection to 8a:15:14:9d:c9:c0 completed [id=0 id_str=] Apr 6 11:45:30 Paul-HP-Laptop NetworkManager[5362]: [1491443130.7408]

[Bug 1677442] Re: openvpn client breaks on connection loss

2017-04-05 Thread Paul
This is in seconds right? I don't want to be waiting an entire minute for the connection to reset, if full packet loss occurs for more than 3 seconds than the connection would be broken and there'd be no point in waiting any longer. I will note though in this situation the ping shouldn't be any

Re: [Bug 1677442] Re: openvpn client breaks on connection loss

2017-04-05 Thread Simon Déziel
On 2017-04-05 07:19 PM, Paul wrote: > I'm going to run it with ping 1 and restart 3 for now so we'll see how > well it keeps going... I would advise not to run with such aggressive delays. They usually worsen the problem because as soon as there is a small % of packet loss, your VPN redials.

[Bug 1677442] Re: openvpn client breaks on connection loss

2017-04-05 Thread Paul
Ok thanks, I ended up installing the gnome manager (with the ovpn gnome package too) because for some reason the KDE version has most of the settings missing, so that helped. An odd thing to mention however though is yesterday the ovpn connection ran all day perfectly without a single problem,

[Bug 1677442] Re: openvpn client breaks on connection loss

2017-04-05 Thread Joshua Powers
@paul17041993, if you have a vpn configuraiton file you can add "keepalive 10 60" to it. Otherwise in network manager you can edit the vpn connection, go to the vpn tab and press advanced. On the general tab that comes up you can as an example check "specify ping interval" and set it to 10 and

[Bug 1677442] Re: openvpn client breaks on connection loss

2017-04-05 Thread Joshua Powers
And in an actual NetworkManager configuration file you can set: ping=10 ping-restart=60 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1677442 Title: openvpn client breaks on connection loss To

[Bug 1677442] Re: openvpn client breaks on connection loss

2017-04-02 Thread Paul
How do I add keepalive and route options to the nm connection config file...? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1677442 Title: openvpn client breaks on connection loss To manage

[Bug 1677442] Re: openvpn client breaks on connection loss

2017-03-31 Thread Simon Déziel
Paul, do you have the "keepalive" directive in your client config (can also be pushed by the server)? This should trigger a VPN restart after some time without hearing back from the server. IIRC, this should be enough to get you back on track. If not, please share the VPN client logs. -- You

Re: [Bug 1677442] Re: openvpn client breaks on connection loss

2017-03-31 Thread Simon Déziel
On 2017-03-31 04:46 AM, ChristianEhrhardt wrote: > I'd almost consider this a configuration issue instead of a bug. > > I wonder would a static host route to your vpn target fix the issue. > Like: > ip route add dev scope host Adding this to the client configuration should be equivalent to the

[Bug 1677442] Re: openvpn client breaks on connection loss

2017-03-31 Thread Paul
Does it work with URLs directly? if not then it definitely wont work as the IP address can only ever be determined on connection initiation. I'm yet to actually get routing to work properly, I had already tried with a different VPN connection without success... -- You received this bug

[Bug 1677442] Re: openvpn client breaks on connection loss

2017-03-31 Thread ChristianEhrhardt
I'd almost consider this a configuration issue instead of a bug. I wonder would a static host route to your vpn target fix the issue. Like: ip route add dev scope host I agree that if that would be the solution that openvpn could have an option to "exclude my own connection". Maybe it has and