PPTP VPN connection from ubuntu

Connecting to windows pptp (VPN) server can be done from Ubuntu too! All you need is pptp-linux and network-manager-pptp packages.

After installing the packages, PPTP support is integrated nicely in the ubuntu UI. To see the VPN settings, click on the network icon in the tray bar and choose VPN Connections -> Configure VPN…

Gateway should be the ip address (or host name) of the vpn server. User name doesn’t have to contain the doman. I don’t like to use the password remember feature because then it is so easy to find out the password using the ’show password’ checkbox.

I found out that advanced settings need some adjustment for optimal performance. I disabled PAP and EAP authentication methods by unchecking them. I use Point-to-point encryption (MPPE) with 128bit security and allowing stateful encryption. I’ve also checked BSD, Deflate and TCP header data compression. Send PPP echo packets is also enabled.

Now we still need to configure routing settings for the vpn connection. Without configuring routing I found out that the connection was very slow when surfing the internet. Routing settings can be found from the IPv4 Settings tab and click ”Routes…” button. I’ve added route with following properties:

address 192.168.1.0
netmask 255.255.255.0
gateway 192.168.1.1

One thought on “PPTP VPN connection from ubuntu

  1. VPN Install kirjoitti:

    Hi, my name is Anthon , I really liked your work,kesäkuu

Vastaa

Täytä tietosi alle tai klikkaa kuvaketta kirjautuaksesi sisään:

WordPress.com-logo

Olet kommentoimassa WordPress.com -tilin nimissä. Log Out / Muuta )

Twitter-kuva

Olet kommentoimassa Twitter -tilin nimissä. Log Out / Muuta )

Facebook-kuva

Olet kommentoimassa Facebook -tilin nimissä. Log Out / Muuta )

Google+ photo

Olet kommentoimassa Google+ -tilin nimissä. Log Out / Muuta )

Muodostetaan yhteyttä palveluun %s