Subject: PoPToP and Win9x VPN clients
To: netbsd-users <netbsd-users@netbsd.org>
From: J. Buck Caldwell <buckaroo@liveround.com>
List: netbsd-users
Date: 10/01/2002 11:47:13
Is anyone using PoPToP with NetBSD to connect Win9x VPN clients? I'm having trouble
getting it set up. I can initiate the connection, but it fails before sucessfully
connecting.

I'm using NetBSD 1.6-i386. I've installed the ppp-mppe package, renamed then linked
/usr/sbin/pppd to /usr/pkg/sbin/pppd, modload'ed mppe.o, and started /usr/pkg/sbin/pptpd.
The configs are below:

/etc/pptpd.conf:
speed 115200
localip 192.168.0.50-57
remoteip 192.168.254.50-57

/etc/ppp/options:
name gatekeeper
lock
debug
auth
+chap
+chapms
+chapms-v2
mppe-40
mppe-128
mppe-stateless
require-chap
proxyarp

/etc/ppp/chap-secrets:
username gatekeeper password *

After starting the pptpd --debug, I go to my Win98 machine, and create a new VPN
connection to the IP address of the server. I uncheck IPX and NetBEUI, check
'Require Encrypted Password', and uncheck everything else (except, of course, IP).
When I connect and enter the username and password, I get the following in syslog:

Oct  1 11:25:25 newgate pptpd[10573]: CTRL: Client 192.168.16.163 Control connection started
Oct  1 11:25:25 newgate pptpd[10573]: CTRL: Starting call (launching pppd, opening GRE)
Oct  1 11:25:25 newgate pppd[10574]: pppd 2.3.9 started by root, uid 0
Oct  1 11:25:25 newgate pppd[10574]: Using interface ppp0
Oct  1 11:25:25 newgate pppd[10574]: Connect: ppp0 <--> /dev/ttyp1
(note the 25 second pause here - windows displays 'Verifying username and password')
Oct  1 11:25:50 newgate pptpd[10573]: CTRL: Error with select(), quitting
Oct  1 11:25:50 newgate pptpd[10573]: CTRL: Client 192.168.16.163 Control connection finished
Oct  1 11:25:52 newgate pppd[10574]: Modem hangup
Oct  1 11:25:52 newgate pppd[10574]: Connection terminated.
Oct  1 11:25:52 newgate pppd[10574]: Exit.

I get identical results whether I put in a correct password or incorrect.

Any ideas whatsoever?
-- 
  - J. Buck Caldwell

   "Every year, we pass the anniversary of our own death."
                                             - B. Banzai
-- 
  - J. Buck Caldwell

   "Every year, we pass the anniversary of our own death."
                                             - B. Banzai