From owner-freebsd-questions@FreeBSD.ORG Thu Jun 16 06:15:23 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A83C316A41C for ; Thu, 16 Jun 2005 06:15:23 +0000 (GMT) (envelope-from jay2xra@yahoo.com) Received: from web51606.mail.yahoo.com (web51606.mail.yahoo.com [206.190.38.211]) by mx1.FreeBSD.org (Postfix) with SMTP id 526BA43D4C for ; Thu, 16 Jun 2005 06:15:23 +0000 (GMT) (envelope-from jay2xra@yahoo.com) Received: (qmail 55096 invoked by uid 60001); 16 Jun 2005 06:15:22 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=FbXyuGQS+pFGDGarCgWOJN80ULbdUKx0frcSHNHb9nH1Hb9Y4BCTMzdnOJGA4ZQmYIf/b+vZ33fUC3rB+AC+C/iuSdqGL2uLDB4Ebp6UMX69bbwE3RbxyAl/BuI+PjEHGElqncCictj+jjsYge8OcJFl2uqHz0OS2rr7LAlFvDc= ; Message-ID: <20050616061522.55093.qmail@web51606.mail.yahoo.com> Received: from [202.90.128.28] by web51606.mail.yahoo.com via HTTP; Wed, 15 Jun 2005 23:15:22 PDT Date: Wed, 15 Jun 2005 23:15:22 -0700 (PDT) From: Mark Jayson Alvarez To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: pptp with mppe on freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 06:15:23 -0000 Hi, I'm trying to connect my lan to a remote lan through pptp/vpn. I followed the instructions on http://www.freebsddiary.org/pptp.php and created a ppp.conf like this: UPVPN: set authname "myusername" set authkey "mypassword" set timeout 0 set ifaddr 0 0 add 10.40.23.0/24 HISADDR alias enable yes Now when I lauched pptp: # pptp "vpnserver" UPVPN I got these errors: anon warn[open_inetsock:pptp_callmgr.c:312]: connect: Operation timed out anon fatal[callmgr_main:pptp_callmgr.c:121]: Could not open control connection t o "vpnserver's ip" anon fatal[open_callmgr:pptp.c:379]: Call manager exited with error 256 Looking at /var/messages, I can see something like this, but I don't know if it has something to do with the error. Jun 16 13:04:14 tmc pptp[20182]: anon log[main:pptp.c:219]: The synchronous pptp option is NOT activated There is this site: http://www.mreriksson.net/howtos/netbsd-pptp-client/ which discusses how to set up pptpclient on NetBSD and there he mentioned about installing the PPPD-MPPE package which I did't do in my FreeBSD box since I failed to find the said pacakge in /usr/ports. I have a slight idea that I really need to have this installed because when I look at the properties page of my vpn connection using a windows machine, I can see this details: device Name WAN Miniport(PPTP) Device Type vpn Server Type PPP Transports TCP/IP Authentication MS CHAPv2 Encryption MPPE 128 Compression (none) PPP multilink Off ServerIP Address 10.40.23.120 ClientIP Address 10.40.23.13 Here's my LAN setup: LAN ------>PCRouter/proxy----->Cisco Router---->cloud Private computer on LAN access Internet through a dual homed pcrouter/proxy server. In this kind of setup, is it possible that those private machine on LAN be connected to the remote private LAN through a pptp tunnel? I've already done this on Windows and there, it has an option for internet sharing, and I'm wondering if I can do the same with freebsd. Any idea? Thanks a lot! __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com