Hello,

I have the following annoying thing: all the time I runpfctl -F all -f 
/etc/pf.conf I got disconnected from my remote machine.
Do you have any idea how can I avoid this?

Here is my pf.conf


#MACROS
ext_if="rl0"
int_if="rl1"
good_ip="{192.168.1.0/24}"
icmp_types="echoreq"

set skip on lo

scrub in

block in
pass out keep state

antispoof quick for { lo $int_if }

#incoming ssh
pass in log quick on $int_if inet proto tcp from $good_ip to ($int_if) port 22 
flags S/SA keep state

#incoming http
pass in log quick on $int_if inet proto tcp from $good_ip to ($int_if) port 80 
flags S/SA keep state

pass in inet proto icmp all icmp-type $icmp_types keep state


   
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to