How To: Virtual Private Networking
I have been using Ubuntu since 6.06. I have set-up connections on 6.06 using pptp-config, on 6.10 using kvpnc, and now on 7.04 with network-manager-pptp. 7.04's set-up, by far, has been the easiest way of doing things. My only wish was that this came pre-installed. Let's get to the meat shall we?
Written by Mark (aka Mouseclone)
The following commands will have this set up right away.
sudo apt-get install network-manager-pptp
You should now see VPN under the applet. Click on the network applet -> VPN connections -> Configure VPN.
Click the Add button
Walk though the wizard. Make sure you configure your options correctly. I have had the nm-applet crash on me for not configuring the route with the /24
or /[network]
after it.
In the end you should have something that looks like this:
I know people are against it, but I would recommend restarting at this point. If you insist on staying connected the following should get the setting in the applet in the systray
NOTE: each of the commands below should be on one line each, no Enter until after you've typed the word 'restart'
sudo /etc/dbus-1/event.d/25NetworkManager restart
sudo /etc/dbus-1/event.d/26NetworkManagerDispatcher restart
Afterward you will have:
This has by far been the easiest set-up that I have gone though. It is simple. The one thing that I think that Ubuntu should have done was to auto-install this package. Then again, I use VPNs and not every home user of Ubuntu will use VPNs so maybe it is good that they left it out, less bulk for the average home user.