How to Connect Ubuntu to VPN?

Once you have data such as these:

Gateway / IP : /
Username :
Password : itwrfA

And you would like to connect this network. You can follow these steps.

1. Open VPN Setting on top panel.

2. Click “+” button on the right side of VPN.

3. Choose Point-to-Point Tunnelling Protocol (PPTP)

4. Go to type gateway, username, and password.

Once you fill up all those fields, go press add button on top right side.

Then go press Advanced button :

Follow this setting, then press OK :

Be careful! If your server needs encryption, you need to check this option :

5. Try to connect!

Try to connect by checking the setting like in picture down here :

Wait up until you get this status :


I wrote these tutorials for myself in future when I forget for the next steps.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store