Date: Tue, 9 Sep 2008 14:49:07 +0800 From: "joeb" <joeb@a1poweruser.com> To: "Scott Bennett" <bennett@cs.niu.edu>, <freebsd-questions@freebsd.org> Subject: RE: pf question Message-ID: <NBECLJEKGLBKHHFFANMBAEJDCKAA.joeb@a1poweruser.com> In-Reply-To: <200809090517.m895Hdur017604@mp.cs.niu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Scott Bennett Sent: Tuesday, September 09, 2008 1:18 PM To: freebsd-questions@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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NBECLJEKGLBKHHFFANMBAEJDCKAA.joeb>