Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Aug 2005 10:25:08 +0300
From:      Michael Dexter <dexter@ambidexter.com>
To:        freebsd-pf@freebsd.org
Subject:   Can rdr rules include flags?
Message-ID:  <a06230952bf18c2585759@[192.168.1.102]>

next in thread | raw e-mail | index | archive | help

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a06230952bf18c2585759>