Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Sep 2005 22:30:20 +0300
From:      Chris Dionissopoulos <dionch@freemail.gr>
To:        Paolo Pisati <p.pisati@oltrelinux.com>
Cc:        freebsd-hackers@freebsd.org, freebsd-net@freebsd.org
Subject:   Re: IPFW NATD = NAT POOL
Message-ID:  <4333064C.6080804@freemail.gr>
In-Reply-To: <20050922175207.GA1194@tin.it>
References:  <4331C65C.5030308@yan.com.br>	<20050922084116.132E970DCD6@mail.npubs.com> <20050922175207.GA1194@tin.it>

next in thread | previous in thread | raw e-mail | index | archive | help
Nice work!

Is possible to implement a "port address forwarding" (aka PAT) using some
ipfw rules?  (or with any other way)
Something similar to "-redirect_port" option of natd(8).

TIA,
Chris.



Paolo Pisati wrote:

>On Thu, Sep 22, 2005 at 08:41:16AM +0000, Nate Nielsen wrote:
>  
>
>>No. I think each instance of natd (at least last time I looked at it)
>>could only use one IP address as it's public address.
>>    
>>
>
>FYI you can use nat inside ipfw[*]:
>
>ipfw nat 1 config ip 192.168.0.123
>ipfw nat 2 config ip 192.168.0.456
>...
>ipfw add 100 nat 1 all from any to any via [if0]
>ipfw add 200 nat 2 all from any to any via [if1]
>...
>
>so someone will finally test it... :)
>
>[*] http://wikitest.freebsd.org/moin.cgi/PaoloPisati
>  
>

____________________________________________________________________
http://www.freemail.gr - δωρεάν υπηρεσία ηλεκτρονικού ταχυδρομείου.
http://www.freemail.gr - free email service for the Greek-speaking.



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