Dokumentationsprojekt för GNOME
gnome-doc-list@gnome.org
Michael Hill
mdhillca@gmail.com
Set up a VPN connection to a local network over the internet.
Daniel Nylander
po@danielnylander.se 2012

# Anslut till ett VPN

A VPN (or Virtual Private Network) is a way of connecting to a local network over the internet. For example, say you want to connect to the local network at your workplace while you're on a business trip. You would find an internet connection somewhere (like at a hotel) and then connect to your workplace's VPN. It would be as if you were directly connected to the network at work, but the actual network connection would be through the hotel's internet connection. VPN connections are usually encrypted to prevent people from accessing the local network you're connecting to without logging in.

There are a number of different types of VPN. You may have to install some extra software depending on what type of VPN you're connecting to. Find out the connection details from whoever is in charge of the VPN and see which VPN client you need to use. Then, go to the software installer application and search for the NetworkManager package which works with your VPN (if there is one) and install it.

If there isn't a NetworkManager package for your type of VPN, you will probably have to download and install some client software from the company that provides the VPN software. You'll probably have to follow some different instructions to get that working.

Once that's done, you can set up the VPN connection:

Open the Activities overview and start typing Settings.

Click on Settings to open the control center.

Click on Network to open the panel.

In the list on the left, click the + button to add a new connection.

Choose VPN in the interface list, and click Create….

Click Add and choose which kind of VPN connection you have.

Click Create and follow the instructions on the screen, entering details like your username and password as you go.

When you've finished setting-up the VPN, click the system status area on the top bar, click VPN and select the connection you just created. It will try to establish a VPN connection - the network icon will change as it tries to connect.

Hopefully you will successfully connect to the VPN. If not, you may need to double-check the VPN settings you entered. You can do this by clicking the system status area on the top bar, click VPN followed by VPN Settings, then select the connection you just created.

To disconnect from the VPN, click the system status area on the top bar and click Disconnect under the name of your VPN connection.