On Thu, Jan 23, 2003 at 11:35:42AM -0800, Adam Lofstedt wrote: > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]] On Behalf Of Clayton Fiske > > Sent: Thursday, January 23, 2003 10:25 AM > > To: [EMAIL PROTECTED] > > Subject: Re: Spoofed IP addresses and ipnat rdr [snip] > > The reason I feel that using a reverse rdr rule is a more > > complete solution is that it maintains the separation of > > legitimate and bogus traffic. Otherwise, from the inside, > > NAT'd legitimate traffic and bogus traffic that was natively > > addressed to 10/8 are no longer distinguishable. > > Can you show me an example of this reverse redirect rule? How would you > write it without a "port" statement?
I was mistaken with regard to the use of rdr. I thought it could be used much like bimap. In this case, assuming only small numbers of ports are allowed, I would just use a rule per port. rdr ext0 10.0.0.0/8 port 25 -> bunk.ip port 12345 rdr ext0 10.0.0.0/8 port 80 -> bunk.ip port 12345 etc -c
