From owner-freebsd-questions Fri Apr 26 2:36:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.clifftop.net (machassociates-6.dsl.easynet.co.uk [217.204.162.182]) by hub.freebsd.org (Postfix) with ESMTP id 23EE037B405 for ; Fri, 26 Apr 2002 02:36:17 -0700 (PDT) Received: from Gandalf (gandalf.shire.com [192.168.1.5]) (authenticated bits=0) by smtp.clifftop.net (8.12.3/8.12.3) with ESMTP id g3Q9Yxuq013416; Fri, 26 Apr 2002 10:34:59 +0100 (BST) From: "Danny Horne" To: , Subject: RE: ipnat_flags question Date: Fri, 26 Apr 2002 10:34:59 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20020426085324.GA14130@icarus.slightlystrange.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Daniel Bye > Sent: Friday 26 April 2002 9:53am > To: freebsd-questions@FreeBSD.ORG > Subject: Re: ipnat_flags question > > > On Fri, Apr 26, 2002 at 08:48:53AM +0100, Danny Horne wrote: > > Hi all, > > > > I'm trying to set up a VPN between a couple of Windows 2000 > servers (keep > > going, it is FreeBSD related!!) but have hit a problem. I > found this in the > > mailing list archives which would seem to answer my problem - > > > > >I had trouble with the same setup but got it to work. I was > also getting > > to > > >the point where it would start to verify my username/password > and the quit. > > >I played with the natd_flags parameter in the rc.conf file and > eventually > > >came up with the following which worked for me: > > > > > >natd_flags="-log -use_sockets -same_ports -pptpalias 192.168.1.3" > > > > I use ipnat, where can I find out what the equivalent flags are? > > > > Thanks > > Try "man 5 ipnat" - seems to be what you are looking for. > Thanks for the reply, unfortuately reading man 5 ipnat didn't help much. These are my current ipnat rules - map ed0 192.168.1.0/24 -> 217.204.162.182/32 rdr ed0 217.204.162.182/32 port 1723 -> 192.168.1.5 port 1723 tcp rdr ed0 217.204.162.182/32 port 500 -> 192.168.1.5 port 500 udp What else do I need to add? Thanks again --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.351 / Virus Database: 197 - Release Date: 19/04/2002 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message