DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Security

OpenBSD Security Functionally paranoid!

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 6th November 2010
newbsdied newbsdied is offline
Port Guard
 
Join Date: Sep 2010
Posts: 11
Thanked 0 Times in 0 Posts
Default pf block command help

i am trying to default deny all incoming. i was looking at fp faqs and "block in" command does not work. Is there something i should do before? It says block command not found. I am used to linux firewalls and this seems difficult.
Reply With Quote
  #2   (View Single Post)  
Old 7th November 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,612
Thanked 214 Times in 189 Posts
Default

You put the command in a FILE. Typically /etc/pf.conf. You then use pfctl(8) to load the FILE.

The syntax of a simple default deny is:

block in all

If that fails for you, post the contents of your pf.conf file, the pfctl command you used, and the specific error you get.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
block downloading using router ajak General software and network 4 20th March 2010 10:46 PM
Block IDM-DAP-P2P mohammadreza OpenBSD Security 5 25th February 2010 09:59 AM
block spam milo974 OpenBSD Security 1 26th May 2009 11:30 AM
New tool on the block - scrypt s0xxx FreeBSD Security 2 21st May 2009 07:48 AM
Automaticaly block IPs with PF DNAeon FreeBSD Installation and Upgrading 7 20th February 2009 02:06 AM


All times are GMT. The time now is 07:59 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick