From owner-freebsd-questions Wed Apr 3 13:16:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from agamemnon.cnchost.com (agamemnon.cnchost.com [207.155.252.31]) by hub.freebsd.org (Postfix) with ESMTP id 776E037B400 for ; Wed, 3 Apr 2002 13:16:22 -0800 (PST) Received: from win98 ([208.176.51.227]) by agamemnon.cnchost.com id QAA28913; Wed, 3 Apr 2002 16:16:20 -0500 (EST) [ConcentricHost SMTP Relay 1.14] From: "Raja Velu" To: "'Moti Levy'" , Subject: RE: Unable to see Windows PCs using PPTP VPN Date: Wed, 3 Apr 2002 15:12:12 -0600 Message-ID: <001401c1db54$3a81b780$1d00a8c0@www.micronetusa.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 In-Reply-To: <044d01c1db3a$4118e060$fd6e34c6@moti> Importance: Normal 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 > > Hi, > > > > I am running a FreeBSD 4.4 server as an IPFW-based firewall/NAT server for > > our company LAN. I have also set this box up to serve as a PPTP VPN server > > running mpd 3.2. I have opened up the firewall with the following lines to > > let VPN connections through: > > > > 03200 allow tcp from any to 1.2.3.4 1723 keep-state > > 03300 allow log logamount 100 gre from any to 1.2.3.4 > > 03400 allow log logamount 100 gre from 1.2.3.4 to any > > > > When I use a win98 PC to connect to my VPN, I am able to get through fine! > > However, after I connect, I am not able to see any Windows PCs inside of > the > > network. Consequently, I am not able login into my Windows domain either. > > > > Is it possible to do what I want without giving up on the IPFW/NAT/PPTP > > setup that I have or am I asking for too much??? Any pointers/web sites > that > > can be provided will be greatly appreciated. > > > > Thanks. > > > > Rgds, > > > > Raja Velu > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > > Raja , > since netbios ( the way windows sees the other computers on the networks ) > will not work through pptp / router > you need to have a wins server on the internal network you pptp to. > you can set that parameter on the dialing computer using > nbns ip.of.wins.server i the mpd config file . > if you have a windows nt server on the networkj instsall a wins server on it > . > if not install samba on the bsd box and enable it's win server feature > Moti Hi Moti, I have a Windows 2000 box setup to do WINS. I sent in my VPN config information in a separate email earlier. Here it is again anyway (192.168.0.1 is the 2000 WINS Server and 192.168.0.2 is the internal IP of the FreeBSD box): ##### mpd.links ###### pptp1: set link type pptp set pptp self 1.2.3.4 set pptp enable incoming set pptp disable originate ##### mpd.conf ####### default: load pptp1 pptp1: new -i ng1 pptp1 pptp1 set ipcp ranges 192.168.0.2/32 192.168.0.201/24 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 dns 192.168.0.1 set ipcp nbns 192.168.0.1 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 Thanks. Rgds, Raja To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message