Solved

Linux VPN with pptp

Posted on 2009-07-03
8
489 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
Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

 

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux boot cd to do hardware report on PC? 3 58
php56-php-mcrypt for rhel7 php56 1 50
Windows 7 Internet issue 14 54
cannot view videos at msnbc 12 36
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

856 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