I've the NetworkManager service is installed and started under Linux desktop. The applet is running. The NetworkManager can display available network hardware and wireless networks. But, I'm unable to add VPN support as the Add tab is greyed out. I need to use both PPTP and Cisco vpn clients. How do I fix this problem under Debian or Ubuntu Linux?
The Gnome NetworkManager has pluggable support for VPN software, including Cisco compatible VPNs (using vpnc), openvpn, and Point-to-Point Tunneling Protocol (PPTP). You need to simply install the NetworkManager VPN plugin and configure the user's machines with the VPN's settings. The first time they connect, the user will be asked for their passwords.
The Add tab is greyed out when required plugins are not installed for Gnome NetworkManager. The following plugins should be installed under Debian / Ubuntu Linux:
- network-manager-openvpn and network-manager-openvpn-gnome - network management framework OpenVPN plugin GNOME GUI
- network-manager-pptp and network-manager-pptp-gnome - network management framework PPTP plugin GNOME GUI
- network-manager-strongswan - network management framework strongSwan ipsec vpn plugin
- network-manager-vpnc and network-manager-vpnc-gnome - network management framework (VPNC plugin GNOME GUI)
To install all of the above plugins use the apt-get command as follows:
$ sudo apt-get install network-manager-openvpn network-manager-pptp network-manager-vpnc
The following plugins should be installed under RHEL / Fedora / CentOS / Scientific Linux / Red Hat Enterprise Linux desktop systems:
- NetworkManager-openvpn : NetworkManager VPN plugin for OpenVPN
- NetworkManager-pptp : NetworkManager VPN plugin for pptp
- NetworkManager-vpnc : NetworkManager VPN plugin for vpnc
To install all of the above plugins use the yum command as follows:
# yum install NetworkManager-vpnc NetworkManager-pptp NetworkManager-openvpn
Now, you can add vpn connection to your system using NetworkManager itself. You may need to restart the NetworkManager as follows:
# /etc/init.d/network-manager restart
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop














{ 10 comments… read them below or add one }
The full command line for Debian / Ubuntu should actually be:
$ sudo apt-get install network-manager-openvpn network-manager-pptp network-manager-pptp-gnome network-manager-vpnc
The Gnome PPTP GUI plugin was missing ;-)
Thanks Al
Tks man.
It works fine on debian squeeze.
i have followed your steps for centos6 but the button is still inactive.
sudo apt-get install network-manager-openvpn network-manager-pptp network-manager-pptp-gnome network-manager-vpnc-gnome
The Gnome VPNC GUI plugin was missing to :)
Thank you very much works great!. How did you find out that it needed some extra packages?
Thanks, this is really helpful.
I found NetworkManager-openvpn package from EPEL repository:
http://fedoraproject.org/wiki/EPEL
Hello, thanks fot howto, but I followed all steps and the “Apply” button is styl grey :( using fresh install Ubuntu 12.10
On Debian 7 (wheezy) don’t work.
On Debian 7 (wheezy) you must install: sudo apt-get install network-manager-openvpn-gnome