Registered Member
|
Hi so im using the openvpn addon for network manager and it seems to close the vpn connection after the timeout configured in System Settings > Settings (Network) > Connection Preferences > Timeout Values > Server response
Is this the case or how can I use my vpn without it automatically disconnecting? I specify Kubuntu because my KDE Manjaro laptop is working flawlessly. |
Registered Member
|
So I tried the 22.10 Kubutnu image which uses the new version of network manager (higher than manajro kde) and the issue persisted so I dont think its that.
/var/log/syslog: Sep 4 17:03:43 <Laptop-Name> nm-openvpn[20501]: [<DOMAIN>] Inactivity timeout (--ping-restart), restarting Sep 4 17:03:43 <Laptop-Name> nm-openvpn[20501]: SIGUSR1[soft,ping-restart] received, process restarting Sep 4 17:03:48 <Laptop-Name> nm-openvpn[20501]: WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead. Sep 4 17:03:48 <Laptop-Name> nm-openvpn[20501]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts Sep 4 17:03:48 <Laptop-Name> nm-openvpn[20501]: TCP/UDP: Preserving recently used remote address: [AF_INET]<SERVER-IP&PORT> Sep 4 17:03:48 <Laptop-Name> nm-openvpn[20501]: UDP link local: (not bound) Sep 4 17:03:48 <Laptop-Name> nm-openvpn[20501]: UDP link remote: [AF_INET]<SERVER-IP&PORT> Sep 4 17:03:48 <Laptop-Name> nm-openvpn[20501]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1542', remote='link-mtu 1557' Sep 4 17:03:48 <Laptop-Name> nm-openvpn[20501]: WARNING: 'comp-lzo' is present in local config but missing in remote config, local='comp-lzo' Sep 4 17:03:48 <Laptop-Name> nm-openvpn[20501]: WARNING: 'keysize' is used inconsistently, local='keysize 128', remote='keysize 256' Sep 4 17:03:48 <Laptop-Name> nm-openvpn[20501]: [<DOMAIN>] Peer Connection Initiated with [AF_INET]<SERVER-IP&PORT> Sep 4 17:03:49 <Laptop-Name> nm-openvpn[20501]: Preserving previous TUN/TAP instance: tun0 Sep 4 17:03:49 <Laptop-Name> nm-openvpn[20501]: /usr/lib/NetworkManager/nm-openvpn-service-openvpn-helper --debug 0 20497 --bus-name org.freedesktop.NetworkManager.openvpn.Connection_13 --tun -- tun0 1500 1553 <VPN-IP1> <VPN-IP2> restart Sep 4 17:03:49 <Laptop-Name> nm-openvpn[20501]: WARNING: Failed running command (--up/--down): could not execute external program Sep 4 17:03:49 <Laptop-Name> nm-openvpn[20501]: Exiting due to fatal error Sep 4 17:03:49 <Laptop-Name> nm-openvpn[20501]: net_addr_ptp_v4_del: <VPN-IP1> dev tun0 Sep 4 17:03:49 <Laptop-Name> nm-openvpn[20501]: sitnl_send: rtnl: generic error (-1): Operation not permitted Sep 4 17:03:49 <Laptop-Name> nm-openvpn[20501]: Linux can't del IP from iface tun0 Sep 4 17:03:49 <Laptop-Name> NetworkManager[802]: <info> [1662275029.0114] device (tun0): state change: activated -> unmanaged (reason 'unmanaged', sys-iface-state: 'removed') Sep 4 17:03:49 <Laptop-Name> dbus-daemon[801]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.10' (uid=0 pid=802 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined") Sep 4 17:03:49 <Laptop-Name> systemd[1]: Starting Network Manager Script Dispatcher Service... Sep 4 17:03:49 <Laptop-Name> dbus-daemon[801]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher' Sep 4 17:03:49 <Laptop-Name> systemd[1]: Started Network Manager Script Dispatcher Service. Sep 4 17:03:49 <Laptop-Name> NetworkManager[802]: <warn> [1662275029.0407] vpn[0x5595cb3e2650,f3e183c5-37b5-4cf5-98bc-b6a0c6239680,"<Laptop-Name>",if:9,dev:2]: dbus: failure: connect-failed (1) |
Registered Member
|
I followed this workaround and its working but not ideal.
https://bugs.launchpad.net/ubuntu/+sour ... comments/5 |
Registered users: Bing [Bot], Evergrowing, Google [Bot]