Solved

Linux VPN with pptp

Posted on 2009-07-03
8
471 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
Comment Utility
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
Comment Utility
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
Comment Utility
You verified the authentication protocols as MSChapv2 on both ends correct>?


0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

Author Comment

by:phoenix128
Comment Utility
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
Comment Utility
Hi, can you post your config file?
0
 

Accepted Solution

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

Expert Comment

by:jfer0x01
Comment Utility
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

772 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now