From owner-freebsd-net Thu Aug 29 19:20:34 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25EFD37B400 for ; Thu, 29 Aug 2002 19:20:28 -0700 (PDT) Received: from www.houstonbroncos.com (adsl-64-219-75-194.dsl.hstntx.swbell.net [64.219.75.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE1E843E4A for ; Thu, 29 Aug 2002 19:20:26 -0700 (PDT) (envelope-from sfeagins@Bugdesign.com) Received: from www.houstonbroncos.com (www.houstonbronco.com [64.219.75.194]) by www.houstonbroncos.com (8.11.6/8.11.6) with ESMTP id g7U2XMr50876 for ; Thu, 29 Aug 2002 21:33:22 -0500 (CDT) (envelope-from sfeagins@Bugdesign.com) X-Originating-IP: [64.219.75.197] From: "Sam Feagins" To: freebsd-net@Freebsd.org Subject: mpd config help Date: Fri, 30 Aug 2002 02:33:22 +0000 Message-ID: <20020829.nen.15207800@www.houstonbroncos.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline X-Mailer: phpGroupWare (http://www.phpgroupware.org) v 0.9.14.000 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hey everyone, I've searched high and low to find a answer to this problem. I've got to connect my BSD 4.5 box to a M$ PPTP server. This BSD box acts as a gateway for several machines so in essence when this BSD box connects to remote network, I would like to have the clients packets also forward over to the remote network. I chose mpd b/c it has dial on demand. I can get the box to connect with mpd and work just fine to the remote network, but the local client packets don't get forwarded over there. But here's the wierd thing, I can get pptp-client to connect, and the internal network can ping across to the remote network. So I assume that if pptp- client can work so can mpd? Here's my mpd.conf file. Local network is 192.168.10.x Remote network is 192.168.2.x and is DHCP'ng 192.168.2.241-245 for pptp connections 192.168.2.240 is remote pptp server vpn: new -i ng1 vpn vpn set iface disable on-demand set iface idle 0 set iface route 192.168.2.0/24 set bundle disable multilink set bundle authname "" set bundle password "" set link yes acfcomp protocomp set link no pap set link allow chap # If remote machine is NT you need this.. set link enable no-orig-auth set link keep-alive 10 75 set ipcp yes vjcomp set ipcp ranges 0.0.0.0/0 192.168.2.240/0 # set ipcp ranges 192.168.10.1/32 192.168.10.3/32 # # The five lines below enable Microsoft Point-to-Point encryption # (MPPE) using the ng_mppc(8) netgraph node type. # set bundle enable compression set ccp yes mppc set ccp yes mpp-e40 set ccp yes mpp-e128 set bundle enable crypt-reqd set ccp yes mpp-stateless open Thanks for anything, Sam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message