Hi! I am using the NetworkManager 1.0.12 to configure a VPN connection as a 'secondary'. If I bring the connection manually down and up using nmcli, the static route pushed by the server is added successfully on the client [0]. If I send a SIGUSR1 (forced server ping-restart trigger) to the openvpn process, the static route pushed by the server is missing in the clients route configuration [1].
The static route is pushed in both cases by the server, I can verify this on client and on server side. Where do we lose this information? What I can see is that the helper application nm-openvpn-service-openvpn-helper is called with the arguments init (up / down) and restart (SIGUSR1). The route information should be in the process environment at this time, but it seems to be missing. How to debug this in the best way? Samuel [0] IPv4 config after manual restart Jun 20 17:21:59 host NetworkManager[9885]: <info> VPN connection 'VPN0' (IP Config Get) reply received. Jun 20 17:21:59 host NetworkManager[9885]: <info> VPN connection 'VPN0' (IP4 Config Get) reply received. Jun 20 17:21:59 host NetworkManager[9885]: <info> VPN Gateway: 192.168.10.14 Jun 20 17:21:59 host NetworkManager[9885]: <info> Tunnel Device: tun0 Jun 20 17:21:59 host NetworkManager[9885]: <info> IPv4 configuration: Jun 20 17:21:59 host NetworkManager[9885]: <info> Internal Gateway: 10.42.0.69 Jun 20 17:21:59 host NetworkManager[9885]: <info> Internal Address: 10.42.0.70 Jun 20 17:21:59 host NetworkManager[9885]: <info> Internal Prefix: 32 Jun 20 17:21:59 host NetworkManager[9885]: <info> Internal Point-to-Point Address: 10.42.0.69 Jun 20 17:21:59 host NetworkManager[9885]: <info> Maximum Segment Size (MSS): 0 Jun 20 17:21:59 host NetworkManager[9885]: <info> Static Route: 10.42.0.1/32 Next Hop: 10.42.0.69 Jun 20 17:21:59 host NetworkManager[9885]: <info> Forbid Default Route: yes Jun 20 17:21:59 host NetworkManager[9885]: <info> DNS Domain: '(none)' [1] IPv4 config after SIGUSR1 forced restart Mon Jun 20 17:11:17 2016 us=21176 SIGUSR1[hard,] received, process restarting Mon Jun 20 17:11:23 2016 us=149248 PUSH: Received control message: 'PUSH_REPLY,route 10.42.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.42.0.70 10.42.0.69' Mon Jun 20 17:11:23 2016 us=152854 /usr/lib/networkmanager-openvpn/nm-openvpn-service-openvpn-helper --tun -- tun0 1500 1542 10.42.0.70 10.42.0.69 restart Jun 20 17:11:23 host NetworkManager[9885]: <info> VPN connection 'VPN0' (IP Config Get) reply received. Jun 20 17:11:23 host NetworkManager[9885]: <info> VPN connection 'VPN0' (IP4 Config Get) reply received. Jun 20 17:11:23 host NetworkManager[9885]: <info> VPN Gateway: 192.168.10.14 Jun 20 17:11:23 host NetworkManager[9885]: <info> Tunnel Device: tun0 Jun 20 17:11:23 host NetworkManager[9885]: <info> IPv4 configuration: Jun 20 17:11:23 host NetworkManager[9885]: <info> Internal Gateway: 10.42.0.69 Jun 20 17:11:23 host NetworkManager[9885]: <info> Internal Address: 10.42.0.70 Jun 20 17:11:23 host NetworkManager[9885]: <info> Internal Prefix: 32 Jun 20 17:11:23 host NetworkManager[9885]: <info> Internal Point-to-Point Address: 10.42.0.69 Jun 20 17:11:23 host NetworkManager[9885]: <info> Maximum Segment Size (MSS): 0 Jun 20 17:11:23 host NetworkManager[9885]: <info> Forbid Default Route: yes Jun 20 17:11:23 host NetworkManager[9885]: <info> DNS Domain: '(none)' _______________________________________________ networkmanager-list mailing list networkmanager-list@gnome.org https://mail.gnome.org/mailman/listinfo/networkmanager-list