Copy Link
Add to Bookmark
Report

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?

eZine's profile picture
Published in 
Full Circle Magazine
 · 5 Jan 2023

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.

How To: Virtual Private Networking
Pin it

Click the Add button

How To: Virtual Private Networking
Pin it

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:

How To: Virtual Private Networking
Pin it

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:

How To: Virtual Private Networking
Pin it

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.

← previous
next →
loading
sending ...
New to Neperos ? Sign Up for free
download Neperos App from Google Play
install Neperos as PWA

Let's discover also

Recent Articles

Recent Comments

Neperos cookies
This website uses cookies to store your preferences and improve the service. Cookies authorization will allow me and / or my partners to process personal data such as browsing behaviour.

By pressing OK you agree to the Terms of Service and acknowledge the Privacy Policy

By pressing REJECT you will be able to continue to use Neperos (like read articles or write comments) but some important cookies will not be set. This may affect certain features and functions of the platform.
OK
REJECT