Ubuntu 12.04 | PPTP Setup

Tony San -

Step 1 - Configure VPN

  • Select network connections in the upper right part of the navigation bar.
  • In the resulting drop-down menu, select VPN Connections -> Configure VPN...

Step 2 - Add VPN

  • Select the Add button on the upper right of the next pop-up.

Step 3 - Choose VPN Type

  • In the drop-down menu make sure Point-toPoint Tunneling Procol (PPTP) is selected.

Step 4 - Configure Settings

  • In the Connection name: field enter VPNinja
  • In the Gateway field enter your
  • You will now need to decide which VPNinja server you would like your phone or tablet to connect to.
  • A full list of servers can be found here.
  • Your VPNinja server selection will affect your ability to connect to different web-based services.  For US-based services (like Hulu, Netflix or Spotify) you'll need to select a US-based server.  For iBBC player, select a UK-based server, and so on. 
  • In the Optional section input your VPNinja username and password. (This is the same username and password you created when you signed up for VPNinja).
  • Leave NT Domain field empty
  • Click Advanced and move to Step 5.

Step 5 - Choose VPN Type

  • In the Authentication field, make sure only MSCHAPv2 is checked.
  • Make sure Use Point-to-Point encryption (MPPE) is unchecked under the Security and Compression section.
  • Allow BSD data compression, Allow Deflate data compression, and Use TCP header compression should all be checked.
  • Under the Echo section make sure Send PPP echo packets remains unchecked.
  • Click OK.

Step 6 - Confirm VPN Creation

  • You should now see VPNinja as a new VPN connection in your Network Connections.
  • Click Close.

Step 7 - Start VPNinja connection.

  • In the upper right hand corner of your navigation bar, select VPN Connections->VPNinja.
  • Your VPNinja connection will now initiate.

Step 8 - Connection Established

  • When VPNinja successfully connects you will now see a lock on the nav bar Network Connection icon and you will see a message saying the VPN connection has been successfully established.

Step 9 - Damn the Man, Surf the Entire Internet

Have more questions? Submit a request


  • 0


    I use Ubuntu 13.04 and cannot connect to the stealth servers, nothing appears to let me chose them :( 

    How can I solve this? 

  • 0
    Jeff Starosta

    Hi all,

    I use Ubuntu 12.04.3 LTS and with the embedded PPTP client (in network-manager) the connection wasn't good, impossible to reach youtube for example... After many tries I realized that it was working when I launched the PPTP connection through the command line. I made 2 simple scripts (start_VPNinja.sh & stop_VPNinja.sh) to make the connection easier. If you want to try it out follow these steps:

    1. Open a terminal then type 'sudo su' to become root

    2. type 'mkdir /etc/ppp/scripts'

    3. type 'mkdir /etc/ppp/scripts/temp'

    4. copy the 2 attached files in /etc/ppp/scripts

    5. be sure you can execute them, type 'chmod +x /etc/ppp/scripts/*.sh'

    6. to start: type '/etc/ppp/scripts/start_VPNinja.sh jp2'    (jp2 is an example you can use whatever server you want)

    7. to stop: type ''/etc/ppp/scripts/stop_VPNinja.sh jp2'    (jp2 is still an example, but it's important you put the same server you were on :)

    8. Hope it helps !


    Please note that I made those scripts for me and it works in my environment, it may work in most Linux environments too but not sure 'cos not tested !! Note also that I don't make any test in scripts, only 1 argument needed...

    Feel free to ask if there's any question. 

  • 0
    Tony San

    Thanks Jeff - you rock!

  • 0
    Ivan Theterrible

    Hello, I cannot find the 2 scripts posted (attached) by Jeff, and I have the same problem, I cannot open website like Youtube. I am using Peppermint 5 (ubuntu based).

  • 0
    Jeff Starosta

    @Ivan Theterrible do you still need it or you're ok now ? Just tell me, I can help you, sorry for the delay !

  • 0

    what to copy and how tell me the commands
    new to linux...

  • 0
    David M

    Why do you only have PPTP instructions written for Ubuntu instead of OpenVPN?


    Ubuntu is rediculously easy to setup every kind of VPN in existence without any problem

    so it seems a bit limited to only write instructions for PPTP alone!


    I usually use interchangably OpenVPN or the VPNNINJA software on my computer!


Please sign in to leave a comment.
Powered by Zendesk