From owner-freebsd-net@FreeBSD.ORG Sat Mar 22 02:25:56 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C89AD1065670 for ; Sat, 22 Mar 2008 02:25:56 +0000 (UTC) (envelope-from sinister@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.freebsd.org (Postfix) with ESMTP id 73E5A8FC23 for ; Sat, 22 Mar 2008 02:25:56 +0000 (UTC) (envelope-from sinister@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so2456035pyb.10 for ; Fri, 21 Mar 2008 19:25:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:from:to:cc:references:subject:date:mime-version:content-type:x-priority:x-msmail-priority:x-mailer:x-mimeole; bh=kY9PPWe2WtT66IzGZvV2yU+qcPQI/d/8ZIOdlyshhro=; b=fyXYVoK83/rjGTHjsp+CN02m2knevWLvNhUerRqZE9zt9ST/nxXebSI3WHP+HQv9KO6VkzEFfXsO5tCBMjnFN6gHYjSkufQQETQgrbqqZjdxanJdrNvuBLWJGmyAWiqA3u5hXX1zNJzVW2fd22R2Qc6ing6yRTPqc7abQGRvOOk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:from:to:cc:references:subject:date:mime-version:content-type:x-priority:x-msmail-priority:x-mailer:x-mimeole; b=RPzMNATTOrq/Rkf810sGOXf7AFSV+tGiP/gC/v3wg/dwb4O8wAO9sMAmZayFWGjcnz+SQaukPXHKoyJ6dBgTji4MUU+fIdR2tQP9MSwM3bbKzi1vjkHor0hMTzt2GcNVhw1bbYO46YXElxTlLHXLzmtfyhMVzg+sT8d7/UwY3Lc= Received: by 10.35.84.20 with SMTP id m20mr3848865pyl.55.1206152755586; Fri, 21 Mar 2008 19:25:55 -0700 (PDT) Received: from dts ( [216.8.139.47]) by mx.google.com with ESMTPS id f78sm10455820pyh.18.2008.03.21.19.25.53 (version=SSLv3 cipher=RC4-MD5); Fri, 21 Mar 2008 19:25:53 -0700 (PDT) Message-ID: <067401c88bc4$1a6ad900$0200a8c0@dts> From: "Sin" To: "Jon Theil Nielsen" References: <8f82c35c0803202329k1aff674cgd7deee4c1a58e20b@mail.gmail.com> <062101c88b71$cb290e90$0200a8c0@dts> <8f82c35c0803211344he63903fpebe6e43d1bc73c8e@mail.gmail.com> Date: Fri, 21 Mar 2008 22:26:14 -0400 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org Subject: Re: Samba PDC with VPN access X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Mar 2008 02:25:56 -0000 Well, Looks like I did get it connected. But its very broken. I'm = trying to make it connect from Windows XP VPN client and the client = talks to the server, but nothing comes of it. ( You can see all the = chatter in ppp.log ) However, if I tell my other FreeBSD machine to = connect to the pptp server, it connects and a TCP link is created under = the settings I specified. Here's some usefull info: server: 7.0-RELEASE PPP Version 3.4.2 server IP: 10.0.0.2 /etc/inetd.conf pptp stream tcp nowait root /usr/sbin/ppp ppp -direct ppp-in /etc/ppp/ppp.conf: ppp-in: set log All set timeout 0 set ifaddr 10.0.4.1 10.0.4.2 disable chap enable pap enable passwdauth /etc/ppp/ppp.secret sin sinspassword /etc/ppp/ppp.linkup pptp: add 10.0.1.0/24 HISADDR Client machine (1): 6.3-RELEASE PPP Version 3.4.2 Client IP: 10.0.0.1 /etc/ppp/ppp.conf vpn: set device 10.0.0.2:1723/tcp set authname sin set authkey sinspassword and then I make the connection by using ppp interactly for testing. = "dial vpn " gets you the three capitals P's, then a simple ping test = proves the link. PPP ON router> show iface tun1 (idx 9) mtu 1500 has 1 address: inet 10.0.4.2 --> 10.0.4.1 netmask 0xffffffff Client machine (2) Windows XP sp3 Error 800 Unable to establish the VPN connection. The VPN server may be = unreachable, or security parameters may not be coinfigured properly for = this connection. - You can see the ppp.log file fill up while the XP machine tries to = connect. Something is missing here and I think i've been staring at = this ppp man page way to long because i'm starting to think that this = pptp server is not the same thing as the XP pptp server/client = connection. You migth be right about trying (again) with ppp. I just didn't make = it work in the first place. So I would surely like to hear if it is = something you can do. And if so, I would like to have a look at your = conf files. Best regards, Jon