Can rdr rules include flags?

Michael Dexter dexter at ambidexter.com
Fri Aug 5 07:25:05 GMT 2005


Hello,

This a general PF question but I am using it in the FreeBSD environment.

I am using an rdr rule to forward http traffic to a jail.

rdr pass on $ext_if inet proto tcp from any to $ext_if port 8080 -> 
$www_ad port 80

 From what I can tell, an accompanying "pass" entry such as the 
following is not needed and is perhaps ignored.

pass in on $ext_if inet proto tcp from any to $ext_if port 80 flags 
S/SA \ modulate state

Is there any way to apply flags to rdr traffic to limit protocols or ports?

Appreciated,

Michael.


More information about the freebsd-pf mailing list