From owner-freebsd-questions Wed May 30 7: 6:57 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dsl-64-193-218-89.telocity.com (dsl-64-193-218-89.telocity.com [64.193.218.89]) by hub.freebsd.org (Postfix) with SMTP id E815837B422 for ; Wed, 30 May 2001 07:06:51 -0700 (PDT) (envelope-from lucas@slb.to) Received: (qmail 25910 invoked by uid 1000); 30 May 2001 14:07:08 -0000 Date: Wed, 30 May 2001 09:07:08 -0500 From: Lucas Bergman To: freebsd-questions@freebsd.org Cc: dananderson@cfl.rr.com Subject: mpd-netgraph Message-ID: <20010530090708.A24093@billygoat.slb.to> Reply-To: lucas@slb.to Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG You're right that I've had this successfully set up, but my setup didn't have NAT or a firewall between the peers, which I suspect is at least part of the difficulty in getting this working. Your question is appropriate for the -questions list, so I'm forwarding it there. Good luck, Lucas ----- Forwarded message from Dan Anderson ----- Delivered-To: lucas@slb.to From: "Dan Anderson" To: Subject: mpd-netgraph Date: Tue, 29 May 2001 21:31:31 -0400 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Importance: Normal Hi, I saw you post that you've successfully used this. I wish to use this to allow Win98 and/or Win2k machines to use pptp and then gain access to shared resources in a Win2k network. Here's what I have so far: - Firewall has public ip 1.2.3.4 and forwards port 1723 to 192.168.1.102 The firewall does nat from my public ip to my internal lan - Several local windows machines are on the lan from 192.168.1.100 to 192.168.1.106 - FreeBSD box is running as 192.168.1.102 behind the firewall. It is running mpd-netgraph 3.2 with the following config: mpd.conf -------- default: load pptp pptp: new -i ng0 pptp pptp set iface disable on-demand set iface enable proxy-arp set iface idle 1800 set bundle disable multilink set link yes acfcomp protocomp set link no pap chap set link enable chap set link keep-alive 10 60 set ipcp yes vjcomp set ipcp ranges 192.168.1.102/32 192.168.1.91/32 # smbd and nmbd are running on feebsd box, dns is isp's # set dns 24.95.227.32 set nbns 192.168.1.102 set bundle enable compression set ccp yes mppc set ccp yes mpp-e40 set ccp yes mpp-e128 set ccp yes mpp-stateless set bundle yes crypt-reqd mpd.links --------- pptp: set link type pptp set pptp self 192.168.1.102 set pptp enable incoming set pptp disable originate Currently, my win98 and win2k clients can establish a connection, negotiate mpe-40, and authenticate using the information in mpd.secret. For some reason they don't use mpe-128 even though my windows clients all have 128 bit encryption installed. After connection, my windows clients can ping 192.168.1.102 and my freebsd box can ping 192.168.1.91. Also, a local windows client on the lan can ping 192.168.1.91 successfully. The problem is that the remote windows clients are unable to see any of the windows network shares on the local network. What I understand of my configuration is that the pptp will make the remote client appear on the local network as 192.168.1.91 and this appears to happen correctly. I just don't know why the windows shares aren't visible. Any information you can give me would be appreciated. I'm very impressed with the possibilities of this software and think I'm real close to having it work. Thank you for your time, Dan Anderson dananderson@cfl.rr.com ----- End forwarded message ----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message