?
Solved

Linux VPN with pptp

Posted on 2009-07-03
8
Medium Priority
?
501 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Suggested Courses
Course of the Month12 days, 9 hours left to enroll

777 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