Back to Top

Monday, August 13, 2007

Setting up a PPTP VPN (client) with Ubuntu

This applies to the latest release (7.04), because from what I understand older versions had more (complicated) steps to follow. My solution is based on this blog posting combined with some advice from here. The steps are:

  1. Install the network-manager-pptp package (either by doing sudo apt-get install network-manager-pptp, by using Synaptic or any other way you like)
  2. Click on the networking icon and set up your VPN
  3. Issue the following commands (the package installation seems to issue at least some of these commands, however I couldn't get my VPN to connect until I re-issued them):
    sudo /etc/dbus-1/event.d/25NetworkManager restart
    sudo /etc/dbus-1/event.d/26NetworkManagerDispatcher restart
    
  4. Profit err - I mean happy VPN-ing

4 comments:

  1. I really like it here vpn,the best choise for Wi-fi navigation.
    I entrusted him myr safety.
    And the price is very good. I advise all to use it.

    ReplyDelete
  2. Anonymous11:56 PM

    I've now employed Hamachi as well and ditched the problematic MS VPN solution.
    There would be miss dials, I'd have to restart the
    "Routing and Remote Access" service sometimes as well as power cycle the modem.
    Now I have no issues. Install Hamachi on the client pc's and set their
    hosts file up and all is well. The notebook users benefit as well.
    Hamachi is intelligent and knows when to use the
    Local Area Network to peer when it can.
    When remote and there is an internet connect a route is found via the net.
    Hamchi - it just works - it's great!!!

    ReplyDelete
  3. Anonymous7:05 PM

    i have configured it. but how to start it. please help me

    ReplyDelete
  4. @Anonymous: you start it by clicking on your network manager icon, going to "VPN Connections" and clicking on the name you've assigned to the VPN connection.

    ReplyDelete