NetworkManager since 15.10 break VPN Support
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
Release: lsb_release -rd
Description: Ubuntu 15.10
Release: 15.10
Package Version:
apt-cache policy network-manager
network-manager:
Installiert: 1.0.4-0ubuntu5.1
Installations
apt-cache policy systemd
systemd:
Installiert: 225-1ubuntu9
Installations
What you expected to happen:
If I start a VPN-Client like Junipers NetworkConnect or openconnect, I expect a VPN-tunnel with a tun-device and the corresponding routes via this device.
What happened instead:
After a successful connection to the vpn gateway the VPN-Client gets informed about routes it should create on the client from the VPN gateway and performs the routing change. Systemd then seems to notify NetworkManager (NM) about the new interface (in my case tun0). NM now does its magic to the newly created tun0 which is not configuered in NetworkManager.
There also seems to be a timing issue. About every 10th time NM is faster then i.e. the vpnc-scripts and routing is set up properly.
It is possible to tell NM in /etc/NetworkMan
[keyfile]
unmanaged-
Then however it is unclear to me how a VPN-Configuration with NM would work if tun0 is ignored.
In my case users have the opportunity to use Junipers NC which is not supported by NM so a standalone client has to be used, but also could want use openvpn via NM. As for now I assume both is not possible.
1: I think it is necessary to be able to use both ways.
2: It took me quite a while to find out why there where no proper routes. It is essential to tell people how to work around this.
3: systemd-netword is _not_ running on these machines. I would like to understand why NM behaves like this.
4: For testing I used wicd to see if there is a difference. And it is. wicd does not mess with the vpn routes.
Let me know if you need more information.
NetworkManager.
[main]
plugins=
[ifupdown]
managed=false
#dns=dnsmasq
[keyfile]
unmanaged-
journal: journalctl -u NetworkManager
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
tags: | added: wily |
summary: |
- Systemd + NerworkManager since 15.10 break VPN Support + Systemd + NetworkManager since 15.10 break VPN Support |
summary: |
- Systemd + NetworkManager since 15.10 break VPN Support + NetworkManager since 15.10 breaks VPN Support |
summary: |
- NetworkManager since 15.10 breaks VPN Support + NetworkManager since 15.10 break VPN Support |
Changed in network-manager (Ubuntu): | |
importance: | Undecided → High |
Maybe good to know:
In 15.04 and before this worked as expected. Since then no changes where made to the configuration, client and server.