Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Oct 2009 02:53:31 -0700 (PDT)
From:      =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= <laszlo_danielisz@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   pf, ssh related question
Message-ID:  <880435.50203.qm@web30808.mail.mud.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hello,=0A=0AI have the following annoying thing: all the time I runpfctl -F=
 all -f /etc/pf.conf I got disconnected from my remote machine.=0ADo you ha=
ve any idea how can I avoid this?=0A=0AHere is my pf.conf=0A=0A=0A#MACROS=
=0Aext_if=3D"rl0"=0Aint_if=3D"rl1"=0Agood_ip=3D"{192.168.1.0/24}"=0Aicmp_ty=
pes=3D"echoreq"=0A=0Aset skip on lo=0A=0Ascrub in=0A=0Ablock in=0Apass out =
keep state=0A=0Aantispoof quick for { lo $int_if }=0A=0A#incoming ssh=0Apas=
s in log quick on $int_if inet proto tcp from $good_ip to ($int_if) port 22=
 flags S/SA keep state=0A=0A#incoming http=0Apass in log quick on $int_if i=
net proto tcp from $good_ip to ($int_if) port 80 flags S/SA keep state=0A=
=0Apass in inet proto icmp all icmp-type $icmp_types keep state=0A=0A=0A   =
   



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