NATD & IPFW
Andrew Pantyukhin
infofarmer at gmail.com
Sun May 7 14:11:24 UTC 2006
On 5/6/06, marcel245 at mweb.co.za <marcel245 at 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).
More information about the freebsd-hackers
mailing list