Solved

Linux VPN with pptp

Posted on 2009-07-03
8
481 Views
Last Modified: 2012-05-07
Hello!
I need to configure a Linux VPN server PPTP based (I know... OpenVPN is better, but my boss wants pptp).

I configured my pptp-options as attached to this message, but when I try to connect from a Windows client I get a 732 error code: "Your computer and the remote computer could not agree on PPP control protocols".

If I disable data encryption in Windows all works fine, but I need encryption... what am I missing?

Thank you guys in advantage!
0
Comment
Question by:phoenix128
  • 4
  • 3
8 Comments
 
LVL 9

Expert Comment

by:jfer0x01
ID: 24772578
Hi,

have you established MSCHAPv2 on both ends the authentication protocol?

This it probably why it fails, are you running Vista? MSChapv1 is no longer supported, use MSChapv2 in any case

found an example in http://74.125.47.132/search?q=cache:0-9BZrliVdIJ:www.linux-bsd-central.com/index.php/content/view/8/+linux+vpn+pptp+732&cd=2&hl=en&ct=clnk&gl=us&client=firefox-a, the site was down so i used google cache


/usr/local/etc/pptpd.conf
----------------------------------------------------------------
debug
nobsdcomp
proxyarp
localip 172.16.0.4
remoteip 172.16.0.150-155
pidfile /var/run/pptpd.pid
+chapms-v2
mppe-40
mppe-128
mppe-stateless



/etc/ppp/ppp.conf
enable MSChapV2
enable mppe
0
 

Author Comment

by:phoenix128
ID: 24772624
Same problem here.
I tried both with Vista and XP... with Vista I have an error code 732 and with XP 741.

Any idea?
0
 
LVL 9

Expert Comment

by:jfer0x01
ID: 24775026
You verified the authentication protocols as MSChapv2 on both ends correct>?


0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Author Comment

by:phoenix128
ID: 24780525
Yes I did, I'm connecting from XP and I suppose it is by default and it is enabled on Linux as you can see from my configuration file.

0
 
LVL 9

Expert Comment

by:jfer0x01
ID: 24780568
Hi, can you post your config file?
0
 

Accepted Solution

by:
phoenix128 earned 0 total points
ID: 24780609
I'm sorry guys, I just misspelled "option" in "/etc/pptpd.conf".
Thank you anyway.
0
 
LVL 9

Expert Comment

by:jfer0x01
ID: 24781245
Hello, I consider points should be awarded, considering I was the only person who attended to your issue,

Also,

Although, you solved your issue, it was after recommending where to look

Jfer
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question