Hi,

On 2005-06-23T08:55, Roberto Pereyra wrote:
> Hi
> 
> I have a simple question about pf.
> 
> I want to block outgoing smtp traficc for all my users. I only pass
> smtp traffic to two smtp server (correo.urdi.com.ar,
> smtp.bourlot.com).
> 
> This rule:
> 
> block out log quick on $ext_if proto tcp from any to any !{
> correo.urdi.com.ar, smtp.bourlot.com }   port smtp
> 
> don't woks ..... what's  I doing wrong.

maybe you should try:

pass out quick on $ext_if proto tcp from any to { 201.252.250.3, 
200.80.42.124 } port smtp keep state
block out log on $ext_if proto tcp from any to any port smtp

hth (but reading pf faq also helps),

Marcus.

Reply via email to