[ previous ] [ next ] [ threads ]
 From:  Tanuj <tanuj at ts86 dot net>
 To:  Dmitry Sorokin <dimon at intellinet dot ca>
 Cc:  m0n0wall dash dev at lists dot m0n0 dot ch, Chris Dickens <chris at object dash zone dot net>
 Subject:  Re: [m0n0wall-dev] Wanted Dead - NAT Bouncing Bug : Bounty increased!!
 Date:  Wed, 27 Oct 2004 22:25:57 +0100
Dmitry Sorokin wrote:

> Should it only bounce TCP or UDP as well? If UDP, then none of the bounce 
> utilities support that for now.


Dunno about this bouncing thing, but on Linux I'd do a NAT rule like:

iptables -t nat -A POSTROUTING -s -d -j 
SNAT --to

(where is the gateway)

This rule would work as PREROUTING would deal with the 1:1 NAT mappings 
or port forwardings or whatever.

Maybe it's this easy on xBSD? Maybe I don't understand the problem?