On 2008-04-25, Gordon Ross <[EMAIL PROTECTED]> wrote: >>>> On 25 April 2008 at 11:40, in message ><[EMAIL PROTECTED]>, Stuart Henderson ><[EMAIL PROTECTED]> wrote: >> Try something like this: >> >> # rdr proto tcp from any to aaaaa port 9000 -> xxxxx port 80 >> # nat from !aaaaa to xxxxx -> aaaaa > > The problem with this, is that I don't know all the ports that are in use - so > I just want to do a total NAT on all traffic to the destination address, but > also NAT the source addresses as well.
You don't need to restrict it to a particular port.

