Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2002 10:34:59 +0100
From:      "Danny Horne" <danny@clifftop.net>
To:        <dan@slightlystrange.org>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: ipnat_flags question
Message-ID:  <AAECJADGHMJFJLKCHNJDCECKCOAA.danny@clifftop.net>
In-Reply-To: <20020426085324.GA14130@icarus.slightlystrange.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> -----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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AAECJADGHMJFJLKCHNJDCECKCOAA.danny>