
I recently did a new Kubuntu install on my desktop. Today I was reinstalling openvpn that I use to get access to serveral remote networks. As always, there are issue with openvpn client setup:
- Install openvpn for command-line and Network Manager. I installed network-manager-openvpn-kde (if you are using gnome - install network-manager-openvpn-gnome). This will install all the required packages including what is needed for the comand-line interface.
- I then create my networkmanager openvpn entry for the office concern. When I try to connect, I find that the connection fails.
- Trying from command line - I find that the connection works but the DNS is not set - so I need to use ip address instead of the url.
The problem is two fold:
- It seems that there is a error in the /etc/dbus-1/system.d/nm-openvpn-service.conf file. As a result of a missing entry - only root can connect using network-manger openvpn plugin. The following lines had to be added to this file
- <policy user="at_console">
<allow own="org.freedesktop.NetworkManager.vpnc"/>
<allow send_destination="org.freedesktop.NetworkManager.openvpn"/>
</policy>
Thank to the many pages on the internet telling what to do to fixed this problem.
As for the command prompt problem - I needed to install the package resolvconf for it to work.
Navigation
Search
Recent blog posts
- Installing OpenVPN on Ubuntu Natty
- apt-get remove old modules errors
- Cloning Drupal Sub-site
- GnuTLS error with FileZilla and vsftpd
- Installing grub on multiple drives
- Finding the fastest Debian repository
- Changing the console resolution in Grub2
- Lightning calendar plugin for x86_64
- Adding a CAPTCHA to a webform in Drupal
- Our High-Availability Setup
