[Bug 1502847] Re: network manager open connect establishes connect but vpn does not work after connection is establlished.
Opened upstream: https://gitlab.com/openconnect/openconnect/-/issues/162 ** Bug watch added: gitlab.com/openconnect/openconnect/-/issues #162 https://gitlab.com/openconnect/openconnect/-/issues/162 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1502847 Title: network manager open connect establishes connect but vpn does not work after connection is establlished. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openconnect/+bug/1502847/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1502847] Re: network manager open connect establishes connect but vpn does not work after connection is establlished.
This is still broken. The post-connect.d workarounds don't work because NetworkManager doesn't get openconnect to use vpnc-scripts any more. So the problem is with nm-openconnect-service-openconnect-helper I guess. When debugging passed env vars I get (extract) Jul 07 08:48:45 Herbie NetworkManager[634766]: CISCO_SPLIT_INC_2_MASKLEN=0 Jul 07 08:48:45 Herbie NetworkManager[634766]: LANGUAGE=en_AU:en Jul 07 08:48:45 Herbie NetworkManager[634766]: NM_DBUS_SERVICE_OPENCONNECT=org.freedesktop.NetworkManager.openconnect.Connection_29 Jul 07 08:48:45 Herbie NetworkManager[634766]: NM_VPN_LOG_SYSLOG=1 Jul 07 08:48:45 Herbie NetworkManager[634766]: CISCO_SPLIT_INC_0_MASKLEN=32 Jul 07 08:48:45 Herbie NetworkManager[634766]: PWD=/ Jul 07 08:48:45 Herbie NetworkManager[634766]: CISCO_SPLIT_INC_1_MASKLEN=32 Jul 07 08:48:45 Herbie NetworkManager[634766]: LANG=en_AU.UTF-8 Jul 07 08:48:45 Herbie NetworkManager[634766]: CISCO_SPLIT_INC_2_ADDR=0.0.0.0 Jul 07 08:48:45 Herbie NetworkManager[634766]: INTERNAL_IP4_NETADDR=192.168.220.116 Jul 07 08:48:45 Herbie NetworkManager[634766]: CISCO_SPLIT_INC_0_ADDR=10.241.17.31 Jul 07 08:48:45 Herbie NetworkManager[634766]: CISCO_CSTP_OPTIONS=split-include=10.241.17.31/32 Jul 07 08:48:45 Herbie NetworkManager[634766]: split-include=10.241.17.30/32 Jul 07 08:48:45 Herbie NetworkManager[634766]: split-include=0.0.0.0/0 Jul 07 08:48:45 Herbie NetworkManager[634766]: search=officeworks.internal Jul 07 08:48:45 Herbie NetworkManager[634766]: DNS=10.241.17.31 Jul 07 08:48:45 Herbie NetworkManager[634766]: DNS=10.241.17.30 Jul 07 08:48:45 Herbie NetworkManager[634766]: netmask=255.255.255.255 Jul 07 08:48:45 Herbie NetworkManager[634766]: ipaddr=192.168.220.116 Jul 07 08:48:45 Herbie NetworkManager[634766]: INVOCATION_ID=e13e358d737b41ef83b74684c4fdcef3 Jul 07 08:48:45 Herbie NetworkManager[634766]: CISCO_SPLIT_INC_1_MASK=255.255.255.255 Jul 07 08:48:45 Herbie NetworkManager[634766]: INTERNAL_IP4_DNS=10.241.17.30 10.241.17.31 Jul 07 08:48:45 Herbie NetworkManager[634766]: INTERNAL_IP4_NETMASK=255.255.255.255 Jul 07 08:48:45 Herbie NetworkManager[634766]: CISCO_SPLIT_INC=3 Jul 07 08:48:45 Herbie NetworkManager[634766]: INTERNAL_IP4_NETMASKLEN=32 Jul 07 08:48:45 Herbie NetworkManager[634766]: INTERNAL_IP4_MTU=1422 Jul 07 08:48:45 Herbie NetworkManager[634766]: CISCO_SPLIT_INC_1_ADDR=10.241.17.30 Jul 07 08:48:45 Herbie NetworkManager[634766]: SHLVL=1 Jul 07 08:48:45 Herbie NetworkManager[634766]: VPNGATEWAY=MYCOMPANYVPNIP Jul 07 08:48:45 Herbie NetworkManager[634766]: CISCO_DEF_DOMAIN=MYCOMPANY.internal Jul 07 08:48:45 Herbie NetworkManager[634766]: INTERNAL_IP4_ADDRESS=192.168.220.116 Jul 07 08:48:45 Herbie NetworkManager[634766]: CISCO_SPLIT_INC_0_MASK=255.255.255.255 Jul 07 08:48:45 Herbie NetworkManager[634766]: TUNDEV=vpn0 Jul 07 08:48:45 Herbie NetworkManager[634766]: CISCO_SPLIT_INC_2_MASK=0.0.0.0 Jul 07 08:48:45 Herbie NetworkManager[634766]: GIO_USE_VFS=local Jul 07 08:48:45 Herbie NetworkManager[634766]: JOURNAL_STREAM=9:24405 Jul 07 08:48:45 Herbie NetworkManager[634766]: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin Jul 07 08:48:45 Herbie NetworkManager[634766]: reason=connect Jul 07 08:48:45 Herbie NetworkManager[634766]: NM_VPN_LOG_PREFIX_TOKEN=634703 Jul 07 08:48:45 Herbie NetworkManager[634766]: NM_VPN_LOG_LEVEL=0 Jul 07 08:48:45 Herbie NetworkManager[634766]: _=/usr/bin/env I also get, tellingly: Jul 07 08:48:45 Herbie NetworkManager[634767]: nm-openconnect[634703] [helper-634767] Ignoring invalid static route prefix '0' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1502847 Title: network manager open connect establishes connect but vpn does not work after connection is establlished. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openconnect/+bug/1502847/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1502847] Re: network manager open connect establishes connect but vpn does not work after connection is establlished.
** Changed in: vpnc-scripts (Ubuntu) Status: Incomplete => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1502847 Title: network manager open connect establishes connect but vpn does not work after connection is establlished. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openconnect/+bug/1502847/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1502847] Re: network manager open connect establishes connect but vpn does not work after connection is establlished.
Command-line connections are not affected anymore, those have been fixed by some update in the meantime. Only connections via the NetworkManager plugin are still affected. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1502847 Title: network manager open connect establishes connect but vpn does not work after connection is establlished. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openconnect/+bug/1502847/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1502847] Re: network manager open connect establishes connect but vpn does not work after connection is establlished.
Reassigning from openconnect to vpnc-scripts, openconnect itself has nothing to do with configuring the routing table after establishing a VPN connection. Does this bug actually affect openconnect command-line connections, or only connections established using NetworkManager? ** Package changed: openconnect (Ubuntu) => vpnc-scripts (Ubuntu) ** Changed in: vpnc-scripts (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1502847 Title: network manager open connect establishes connect but vpn does not work after connection is establlished. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openconnect/+bug/1502847/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1502847] Re: network manager open connect establishes connect but vpn does not work after connection is establlished.
Hello, A bit late to the party. Have you tried changing the tun0 mss? sudo iptables -A OUTPUT -o tun0 -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1362 Thanks, Alex -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1502847 Title: network manager open connect establishes connect but vpn does not work after connection is establlished. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openconnect/+bug/1502847/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1502847] Re: network manager open connect establishes connect but vpn does not work after connection is establlished.
** Changed in: openconnect (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1502847 Title: network manager open connect establishes connect but vpn does not work after connection is establlished. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openconnect/+bug/1502847/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1502847] Re: network manager open connect establishes connect but vpn does not work after connection is establlished.
Similar thing happens in Xubuntu 16.04 LTS "Xenial Xerus" - beta 2. I'm able to connect eventually, but I'm getting disconnected constantly from OpenVPN client. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1502847 Title: network manager open connect establishes connect but vpn does not work after connection is establlished. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openconnect/+bug/1502847/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1502847] Re: network manager open connect establishes connect but vpn does not work after connection is establlished.
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: openconnect (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1502847 Title: network manager open connect establishes connect but vpn does not work after connection is establlished. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openconnect/+bug/1502847/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1502847] Re: network manager open connect establishes connect but vpn does not work after connection is establlished.
A permanent fix that worked: Create a file: /etc/vpnc/post-connect.d/fix-default-route Contents: ip route replace default via 0.0.0.0 dev tun0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1502847 Title: network manager open connect establishes connect but vpn does not work after connection is establlished. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openconnect/+bug/1502847/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1502847] Re: network manager open connect establishes connect but vpn does not work after connection is establlished.
I am also affected by this bug. The following workaround works for me: sudo ip route replace default via 0.0.0.0 dev tun0 I can provide lots of debugging information if needed. ** Also affects: openconnect (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1502847 Title: network manager open connect establishes connect but vpn does not work after connection is establlished. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openconnect/+bug/1502847/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1502847] Re: network manager open connect establishes connect but vpn does not work after connection is establlished.
The proposed permanent fix mentioned in #5 does not work for me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1502847 Title: network manager open connect establishes connect but vpn does not work after connection is establlished. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openconnect/+bug/1502847/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1502847] Re: network manager open connect establishes connect but vpn does not work after connection is establlished.
O posted a permanent fix to the vpnc script in here, that works for openconnect on the command line. http://askubuntu.com/questions/681687/openconnect-vpn-setup-is-failing-in-ubuntu-15-10 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1502847 Title: network manager open connect establishes connect but vpn does not work after connection is establlished. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openconnect/+bug/1502847/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1502847] Re: network manager open connect establishes connect but vpn does not work after connection is establlished.
This fixes the problem for me after vpnc connected: sudo ip route add default dev tun0 I wonder if vpnc is failing to do this itself, or if NetworkManager is getting in the way. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1502847 Title: network manager open connect establishes connect but vpn does not work after connection is establlished. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openconnect/+bug/1502847/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1502847] Re: network manager open connect establishes connect but vpn does not work after connection is establlished.
Please increase the importance if possible. openconnect VPN in 15.10 is not working for me but does have the wifi driver for MSI GT72 ( Awesome ). 15.04 has the working VPN but not the wifi.. Thanks you all for Ubuntu ! James -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1502847 Title: network manager open connect establishes connect but vpn does not work after connection is establlished. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openconnect/+bug/1502847/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1502847] Re: network manager open connect establishes connect but vpn does not work after connection is establlished.
** Changed in: network-manager-openconnect (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1502847 Title: network manager open connect establishes connect but vpn does not work after connection is establlished. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openconnect/+bug/1502847/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1502847] Re: network manager open connect establishes connect but vpn does not work after connection is establlished.
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: network-manager-openconnect (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1502847 Title: network manager open connect establishes connect but vpn does not work after connection is establlished. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openconnect/+bug/1502847/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs