View Single Post
  #1   (View Single Post)  
Old 24th April 2013
CyberJet's Avatar
CyberJet CyberJet is offline
Real Name: Ramon
BSD Student
 
Join Date: Feb 2009
Location: Miami FL
Posts: 98
Default Pf.conf:29 syntax error

Greetings to All,

I'm running OpenBSD 5.2 GENERIC #339 i386

I'm trying to build my pf.conf. I have tried using the one posted here by Oko:
http://www.daemonforums.org/showthread.php?t=4187

When I input the statement:
Code:
scrub in all random-id fragment reassemble 
scrub out all random-id fragment reassemble
I get syntax error. So, I removed the statements and run:
Code:
pfctl -f /etc/pf.conf
I get no errors. I decided to do a very simple statement as described in:
http://www.openbsd.gr/faq/pf/scrub.html

So I used the simple statement:
Code:
scrub in all
It produces error:
Code:
Pf.conf:29 syntax error
pfctl: Syntax error in config file: pf rules not loaded
I'm using nano to edit file and I'm not adding a carriage return.

Questions:

What am I doing wrong?

Are all the rules not loaded because of this error?

Thank you and regards to all
__________________
Speak softly and carry BSD!
Reply With Quote