Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jul 2001 16:13:35 -0300 (ART)
From:      Fernando Gleiser <fgleiser@cactus.fi.uba.ar>
To:        tyler spivey <tspivey8@home.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: how to setup natd under ipf?
Message-ID:  <20010701160723.J16304-100000@cactus.fi.uba.ar>
In-Reply-To: <200106302050.f5UKoRa00311@home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 30 Jun 2001, tyler spivey wrote:

> place cc me sicne i am not on this list.
> how do i get nat on ipf?

You need to use ipnat. man ipnat for details. The ipf howto is available at
http://www.obfuscation.org/ipf/ipf-howto.txt


> it says unknown keyword map.

Because you are using ipf to do nat. In IP Filter, you use ipf for filtering
and ipnat for NAT.

> map rl0 10.0.0.0/24 -> 0/32

put this rule in a file called /etc/ipnat.rules and then say
"ipnat -f /etc/ipnat.rules".

> it worked under ipfw.
> and ihave natd_enable and all that in rc.conf.
>
> 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




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