Date: Fri, 10 Jun 2005 16:22:38 -0500 From: "Fafa Hafiz Krantz" <fteg@london.com> To: questions@freebsd.org Subject: pf pfffffft pfft *) problem Message-ID: <20050610212238.5809D4BEAD@ws1-1.us4.outblaze.com>
next in thread | raw e-mail | index | archive | help
hey!
pf blocks me from ftp'ing out from my workstation (behind my pf box) and i =
don't know why.
it only blocks, however, the ftp's i've been downloading a lot from during =
the past few days.
ftp'ing out *from* my pf box works just nicely.
some of my users report not being able to ssh in, too.
# tcpdump -n -e -ttt -i pflog0
#
24. 001750 rule 0/0(match): block in on rl0: IP 217.31.174.134:2200 > 213.1=
87.181.23 : FP 0:34(34) ack 1 win 5840
heeeeeeelp! :D
i didn't change my working configuration.
it's been working for months. until now ...
# cat /etc/pf.conf
#
int_if=3D"ep0"
ext_if=3D"rl0"
set block-policy drop
scrub in all
nat on $ext_if from $int_if:network to any -> ($ext_if)
rdr on $int_if proto tcp from any to any \
port 21 -> 127.0.0.1 port 8021
block drop log all
pass quick on { lo0 $int_if }
pass out on $ext_if inet proto { tcp, udp, icmp } \
from any to any keep state
pass in on $ext_if inet proto { tcp, udp } \
from any to ($ext_if) port 53
pass out on $ext_if inet proto { tcp, udp } \
from any port 53 to any
pass out on $ext_if inet proto udp \
from any to any port 123 keep state
pass in on $ext_if inet proto tcp \
from any to ($ext_if) port { 22, 25, 80, 110, 113, 143 } \
flags S/SA keep state
pass in on $ext_if inet proto tcp \
from any port 20 to ($ext_if) user proxy flags S/SA keep state
pass in on $ext_if proto tcp \
from any to any port 31337 keep state
pass in on $ext_if proto tcp \
from any to any port 53333:55555
--
Fafa Hafiz Krantz
Research Designer @ http://www.home.no/barbershop
Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf
--=20
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050610212238.5809D4BEAD>
