IPFW NATD = NAT POOL

Chris Dionissopoulos dionch at freemail.gr
Thu Sep 22 12:31:03 PDT 2005


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.


More information about the freebsd-net mailing list