Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2007 06:20:37 -0600
From:      ajtiM <lumiwa@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   PF firewall
Message-ID:  <200712070620.37273.lumiwa@gmail.com>

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

I am a new FreeBSD 7.0 beta3 user and I have standalone computer connected to 
the internet  (cable). I use both, console and KDE desktop. I tried to setup 
PF firewall for the standalone computer but I have a problem with internal 
messages (mail) which are blocked if firewall running.
This is from /var/log/mail:
"sm-msp-queue[15113]: lB493C1i007320: to=root, ctladdr=root (0/0), 
delay=1+21:37:55, xdelay=00:00:00, mailer=relay, pri
=2552408, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Operation not 
permitted"

My pf.conf looks like:

pass out  quick inet  from (sk0)  to any keep state  label "RULE 0 -- ACCEPT "
block drop in quick inet all label "RULE 1 -- DROP "
block drop out quick inet all label "RULE 1 -- DROP "
block drop in quick inet all label "RULE 10000 -- DROP "
block drop out quick inet all label "RULE 10000 -- DROP "

Thanks in advance.
-- 
mItjA
__________________
http://www.gnu.org/
http://www.freebsd.org



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