connect to windows vpn using pptpconfig

April 1st, 2007 mysurface Posted in Network, pptpconfig, route | Hits: 44191 | 9 Comments »

To create a tunnel connecting to microsoft VPN server is not a difficult. With the help of pptpconfig GUI, let see how to do it.

First of all, you need to make sure whether pptpconfig was installed. Check out ubuntu geek for pptpconfig installation guide for ubuntu linux. You can have more details info regarding pptp client at For download pptpconfig rpm, check out

Create a tunnel with pptpconfig document section covers very complete guide for most common linux distro. In this examples, we show you the most common way to connect to NT VPN, if you facing problem or search for advance settings info, we recommend you read the document section.

Lets get started. You must run pptpconfig in root permission, either you execute it with gksudo or simply with sudo.

gksudo pptpconfig

As you can see in GUI, it split configurations into few tabs (Server, Routing, DNS, Encryption, Miscellaeous), the most important tabs are Server, routing and Encryption.

At server tab, put any name into ‘Name‘ text input, put your vpn server domain name or IP into ‘Server‘ area. Fill in your username and password. Switch to routing and select ‘client to LAN‘, then switch to tab Encryption. The most common options to check is ‘Require Microsoft Point-to-point Encryption (MPPE)‘.

Click Add button to add ans save the vpn settings, select that line you added and click start button. If it success, it means you already hook up. Double check with ifconfig, you should now see ppp0 network interface up with IP assigned.

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:  P-t-P:  Mask:
          RX packets:311 errors:0 dropped:0 overruns:0 frame:0
          TX packets:156 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:30001 (29.2 KiB)  TX bytes:11054 (10.7 KiB)

Accessing host or servers behind VPN.
You should able to connect straigh away, but I do facing problem accessing servers behind that vpn i connected to. The reason was the route is not properly setup. I do try to setup at routing tab in pptpconfig, but somehow it do not configure for me correctly. Okay, if you are facing the same problem, first check the routing table with route command.

route -n

I get this line which I know it was wrong, the netmask should be, and I want to access the entire LAN instead of just this machine with IP UH    0      0        0 ppp0

Never mind, delete the unwanted route and reconfigure a correct one.

sudo route del

Setup a new route, where it allows you to access entire LAN of

sudo route add -net netmask dev ppp0

Ok, done. you can actually terminate your pptpconfig GUI application, the connection will stay until you stop it by hitting stop button.

Alternative References

  • Facing problem setting up in Fedora core 6? Check out Nabble for help.
  • Create a vpn connection in Windows XP is not cover here, check out
  • Some GUI screenshot of pptpconfig, check out
  • Configure with using pptp, check out
  • Additional Info
    pptpconfig was build using glade and php-gtk by Quozl. Thanks to ditesh@myoss for the information.

    [tags] vpn installation, vpn linux, vpn configuration, vpn to windows, nt vpn, virtual private network[/tags]

    9 Responses to “connect to windows vpn using pptpconfig”

    1. Another Title…

      I saw this really great post today….

    2. VPN PRO…

      I saw this really great post today….

    3. Thanks a bunch for sharing this with all folks you really recognise what you are talking approximately! Bookmarked. Kindly additionally consult with my web site =). We could have a hyperlink exchange agreement between us!

    4. Go past a easy firewall with sophisticated packet checking software program.

    5. I really like getting the letters, but please tend not to go telling folks they are heading for getting about just one a week. I have been lucky to obtain a single a month. You need to do a little better than that….or cease the pinocchio stories at the really least. If just one a month is what it is, then that’s what it is.

    6. Spot on with this write-up, I seriously believe this
      amazing site needs far more attention. I’ll probably bbe returning to read through more, thabks for the

      Feel free to surf to my web blog simple one story ranch house plans

    7. At this moment I am going away to do my breakfast, afterward having my breakfast coming yet again to read other news.

      my homepage car window replacement ringwood

    8. Thank you. You just saved me a whole lot of digging into my notes!

    9. Wonderful website you have here but I was curious if you knew of any
      user discussion forums that cover the same topics talked about here?
      I’d really like to be a part of community where I can get feed-back from other experienced people that share the same interest.
      If you have any suggestions, please let me know. Thanks a lot!

    Leave a Reply