View Single Post
  #1   (View Single Post)  
Old 24th August 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Default are these pf.conf settings correct ?

Hi
This my first attempt to touch pf.conf .. if there is something foolish please don't be aggressive.
Following FAQ 6 , I have :
in hostname.wpi0 :
Code:
dhcp NONE NONE NONE
in hostname.bce0 :
Code:
up media 10base2
in hostname.bridge0 :
Code:
add wpi0
add bce0
up
* Are these settings correct to allow http ssh and ftp ?

Code:
pass in quick on bce0 all
pass out quick on bce0 all
block in  on wpi0 all
block out on wpi0 all

pass in quick on wpi0 proto tcp from any to any port {22, 80, 21} \
     flags S/SA keep state
* I'd like to allow amule too , how could I set pf.conf to tighten security while still be able to use the p2p client ?

Thank you very much !!
Reply With Quote