View Single Post
  #1   (View Single Post)  
Old 24th October 2013
pawaan pawaan is offline
Fdisk Soldier
 
Join Date: Jan 2013
Posts: 82
Default blocking a website with pf

Hello

I'm a total newbie in pf and want to block www.facebook.com
I made a change to pf.conf

Code:
table <noface> persist file "/etc/pf.noface.conf"
Code:
block drop in log (all) quick on $ext_if from <noface> to any
It worked after I commented out 'pass out'
Is it correct to do without 'pass' ? can you help me make such blocks better?

Thank you
Pawaan.

Last edited by pawaan; 24th October 2013 at 04:11 AM. Reason: typo : such
Reply With Quote