Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 May 2006 18:11:22 +0400
From:      "Andrew Pantyukhin" <infofarmer@gmail.com>
To:        "marcel245@mweb.co.za" <marcel245@mweb.co.za>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: NATD & IPFW
Message-ID:  <cb5206420605070711ve75a9dfs827049b259c9c2c4@mail.gmail.com>
In-Reply-To: <926f294bee3f4d3caf20a4257ccded9b@mweb.co.za>
References:  <926f294bee3f4d3caf20a4257ccded9b@mweb.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/6/06, marcel245@mweb.co.za <marcel245@mweb.co.za> wrote:
>
>    I cant seem to get something working and would really appreciate some
>    h elp.
>    I use IPFW and have used NAT in the past through the ipfw "divert"
>    rules.
>    But what i need to get right is simply nat for a  particular host
>    internally to a external mail server.
>    Now i ca n nat all traffic or nothing not control a particular
>    host.
>    Also i have tried all resources and methods including trying the
>    "rediect por t" function of natd seperatlly of ipfw. this to didnt
>    seem to work. Examples i copied didnt.
>    Im using freebsd6

Just don't divert outgoing traffic that you don't want to
NAT. As for the incoming - just be sure not to use
deny_incoming (if the alias IP is not dedicated to the
host you wanna NAT).



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