pf question

joeb joeb at a1poweruser.com
Tue Sep 9 06:49:05 UTC 2008


 pfctl -f  /etc/pf.conf     # loads the pf.conf file
 pfctl -Nf /etc/pf.conf     # Load only the NAT rules from the file
 pfctl -Rf /etc/pf.conf     # Load only the filter rules from the file

-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Scott Bennett
Sent: Tuesday, September 09, 2008 1:18 PM
To: freebsd-questions at freebsd.org
Subject: pf question


     I'm just starting to play around with pf to get it to handle NAT for
a LAN, and I've just discovered that I don't know how to get pf to reload
/etc/pf.conf after I make changes to it.  "pfctl -d -e" doesn't do it, and
neither does "pfctl -d; pfctl -e".  Is there a way to do it besides
rebooting?
     Please copy me in directly on any replies.  I'm subscribed to the
digest
form of this list, so I get all the messages at once, usually once a day, so
I'll see the responses much sooner if they come to me directly as well as to
the list.
     Thanks much!


                                  Scott Bennett, Comm. ASMELG, CFIAG
**********************************************************************
* Internet:       bennett at cs.niu.edu                              *
*--------------------------------------------------------------------*
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."                                               *
*    -- Gov. John Hancock, New York Journal, 28 January 1790         *
**********************************************************************
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list