Red Hat Bugzilla – Bug 444748
NetworkManager-vpnc will not connect while vpnc will connect.
Last modified: 2018-04-11 08:00:26 EDT
Description of problem:
Unable to establish a VPN connection when using VPN configured within
NetworkManager. However, from the commandline using VPNC the connection works
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Configure a VPN connection.
2. Attempt to establish the connection.
3. The connection fails every time.
4. Configure the same connection via the commandline with VPNC
5. Attempt to establish the connection.
6. Connection succeeds.
Connections never succeed with NetworkManager-vpnc.
A friend of mine has the same setup and the same problem.
Could you provide the exact vpnc command that is working ?
/usr/sbin/vpnc to connect. My scrubbed VPN configuration is:
[root@mcpierce-laptop ~]# cat /etc/vpnc/default.conf
IPSec gateway ###.###.###.###
IPSec ID ******
IPSec secret ******
# your username goes here:
I also seem to having the same issue. Everything was fine up until a few days
ago. I was able to connect without issue, then it just stopped working. Now when
I try, I get the popup that prompts me for my password / group password, I
enter it then it just stops trying to connect. I see the following in
Jun 2 10:46:07 NY-0999-LX-01 NetworkManager: <info> VPN connection 'MYVPN'
(Connect) reply received.
Jun 2 10:46:07 NY-0999-LX-01 kernel: tun0: Disabled Privacy Extensions
Jun 2 10:46:08 NY-0999-LX-01 NetworkManager: <WARN>
connection_state_changed(): Could not process the request because no VPN
connection was active.
I can confirm the issue. To give a little bit more information :
[root@localhost ~]# nm-vpnc-service
** Message: <info> vpnc started with pid 5669
/usr/sbin/vpnc: warning: unknown configuration directive in stdin at line 7
/usr/sbin/vpnc: missing Xauth password
** (process:5661): WARNING **: <WARN> vpnc_watch_cb(): vpnc exited with error
[root@localhost ~]# nm-vpnc-service-vpnc-helper
** (process:5660): WARNING **: <WARN> helper_failed():
nm-nvpnc-service-vpnc-helper did not receive a valid VPN Gateway from vpnc
** (process:5660): WARNING **: <WARN> helper_failed(): Could not send failure
information: The name org.freedesktop.NetworkManager.vpnc was not provided by
any .service files
[root@localhost ~]# cat /etc/vpnc/default.conf
## generated by pcf2vpnc
IPSec ID ***********
IPSec gateway vpn.*********
IPSec secret *******
Xauth username JCM
Xauth password ******
IKE Authmode psk
Created attachment 314454 [details]
Part of /var/log/messages related to the issue (I believe)
I think I have similar issue here -- vpnc works without any problems with this (sanitized) /etc/vpnc/default.conf
[root@viklef ~]# grep -v ^# /etc/vpnc/default.conf
IPSec gateway jadajada.redhat.com
IPSec ID jadajada
IPSec secret jadajada
Xauth username mcepl
Interface name tun0
Script INTERNAL_IP4_DNS= /etc/vpnc/vpnc-script
but NetworkManager-vpnc (which used to work pretty well with the exactly very same configuration like a month ago) fails with the message "VPN Connection Failed: The VPN connection 'RH VPN' failed because the VPN service stopped unexpectedly."
Created attachment 314455 [details]
Screenshot of the error message
Is this still an issue with latest F9 updates (ie, svn4022 or later)?
No, I have not had an issue with it in some time now.