> > No, your firewall rule is backwards. > pass in log quick on ed0 proto tcp from any to a.b.c.d/32 > port = 80 flags S keep state keep frags >
Ummmm. Not really. The rdr happens before the ipf.rules are checked, so the packet has already been rewritten to be destined for x.y.z.2. That is, if NAT is happening and setup correctly... But we have yet to see the MAP rules if there are any. Adam > On Fri, 31 Jan 2003, Adam Lofstedt wrote: > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED]] On Behalf Of Joshua Call > > > Sent: Friday, January 31, 2003 1:58 PM > > > To: [EMAIL PROTECTED] > > > Subject: Problem with RDR > > > > > > > > > Well, I have been trying to redirect http traffic > > > coming to my external address to an internal web > > > server. My external address is a.b.c.d, and the > > > internal box is x.y.z.2. Here is my ipnat.rules line: > > > > > > rdr ed0 a.b.c.d/32 port 80 -> x.y.z.2 port 80 > > > > > > and the corresponding ipf.rules line: > > > > > > pass in log quick on ed0 proto tcp from any to > > > x.y.z.2/32 port = 80 flags S keep state keep frags > > > > > Try it without the /32 maybe? > > > > pass in log quick on ed0 proto tcp from any to x.y.z.2 port = 80 \ > > flags S keep state keep frags > > > > Can you also provide the map rules in ipnat.rules? > > > > > > Adam > > > > > > -- >
