new2bsd
08-03-2005, 04:53 AM
I've got pcbsd installed now on my laptop (went smooth), but I can't seem to get pf to function like I want it to.
I used scottro's beginner's guide to pf from this post-
http://www.pcbsd.org/forums/viewtopic.php?t=897
I've edited rc.conf to enable pf.
My pf.conf file looks like this=
# to allow DHCP
tcp_pass = "{bootpc}"
udp_pass = "{bootpc}"
block all
# i want to be able to ping out
pass out proto {icmp} all keep state
pass out proto {udp, tcp} to port {53, 80, 443}
I connected my other machine to the router and pinged the IP address issued to my laptop from it. Shouldn't it be dropping inbound ICMP packets?
I'm sure I've done something wrong. I'm new to *BSD and therefore pf.
Any suggestions?
Thanks ahead of time
I used scottro's beginner's guide to pf from this post-
http://www.pcbsd.org/forums/viewtopic.php?t=897
I've edited rc.conf to enable pf.
My pf.conf file looks like this=
# to allow DHCP
tcp_pass = "{bootpc}"
udp_pass = "{bootpc}"
block all
# i want to be able to ping out
pass out proto {icmp} all keep state
pass out proto {udp, tcp} to port {53, 80, 443}
I connected my other machine to the router and pinged the IP address issued to my laptop from it. Shouldn't it be dropping inbound ICMP packets?
I'm sure I've done something wrong. I'm new to *BSD and therefore pf.
Any suggestions?
Thanks ahead of time