From owner-freebsd-net Wed Nov 21 10:43: 2 2001 Delivered-To: freebsd-net@freebsd.org Received: from hotmail.com (f54.law3.hotmail.com [209.185.241.54]) by hub.freebsd.org (Postfix) with ESMTP id A49F537B416 for ; Wed, 21 Nov 2001 10:42:59 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 21 Nov 2001 10:42:59 -0800 Received: from 193.216.47.156 by lw3fd.law3.hotmail.msn.com with HTTP; Wed, 21 Nov 2001 18:42:59 GMT X-Originating-IP: [193.216.47.156] From: "Thor Legvold" To: freebsd-net@freebsd.org Subject: mpd-netgraph configuration files Date: Wed, 21 Nov 2001 18:42:59 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 21 Nov 2001 18:42:59.0494 (UTC) FILETIME=[57C39C60:01C172BC] 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 Still debugging, some questions to verify I have the proper config. FBSD dual homed host/gw for a home LAN dc0 home LAN 192.168.128.0/24 wi0 ISP WAN 10.10.0.0/16 IPFW and NAT are running, ipfw is wide open at present, natd running -m -s -dynamic on wi0. Don't know if I need anything else special on nat for PPTP to work. My ISP has a pool of dynamically assignable (DHCP) routable IP's that they assign via a PPTP server at 10.10.1.1. The routable IP's are in the range 213.225.121.0/24 as far as I understand. My config looks like this: # mpd.conf access: new -i ng0 access access set iface idle 0 set iface route default set iface disable on-demand set bundle disable multilink set bundle authname "myreallogin" set bundle password "myrealpassword" set link yes pap set link yes chap set link no mppc set link disable no-orig-auth set ipcp ranges 0.0.0.0/0 10.10.1.1/0 and links like this: # mpd.links access: set link type pptp set pptp mode active set pptp peer 10.10.1.1 set pptp enable originate outcall mpd.secrets has one line, with the same login/password as in mpd.conf I'm a bit unsure as to what values should be in "set ipcp ranges", but I don't seem to get the error message mentioned in the manual so I think it's ok as is. Does this appear at all correct? My ISP knows a bit about Linux (they use it for the PPTP/VPN server, running PoPToP), and said I needed a "name" variable somewhere, at least when connecting from Linux (but not Windows). Should I use the "set link ident" for this? Regards, Thor _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message