From owner-freebsd-questions Thu Sep 13 19:29:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.XtremeDev.com (xtremedev.com [216.241.38.65]) by hub.freebsd.org (Postfix) with ESMTP id 7C31437B411 for ; Thu, 13 Sep 2001 19:29:13 -0700 (PDT) Received: from xtremedev.com (xtremedev.com [216.241.38.65]) by mail.XtremeDev.com (Postfix) with ESMTP id 110DB13657; Thu, 13 Sep 2001 20:29:06 -0600 (MDT) Date: Thu, 13 Sep 2001 20:29:06 -0600 (MDT) From: FreeBSD To: =?iso-8859-1?q?Keith=20Spencer?= Cc: Andrew Reid , fbsd Subject: Re: how can I HUP ipf to reread new rules added?? In-Reply-To: <20010913234400.64843.qmail@web12006.mail.yahoo.com> Message-ID: <20010913202844.X78410-100000@Amber.XtremeDev.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG You don't need to make them separate commands. A single ipf -Fa -f /etc/ipf.rules would do. On Fri, 14 Sep 2001, [iso-8859-1] Keith Spencer wrote: > Thanks > I took the advice and wrote a simple bash script > to do... > ipf -F input > ipf -F output > ipf -F forward > ipf -f /etc/ipf.rules > Keith > --- Andrew Reid wrote: > On 05 > Sep 2001 14:49:12 +1000, Keith Spencer wrote: > > > > > After adding rules can I restart it to see if they > > > work ok without rebooting? > > > > Yes. Have a read of the IPF section of the OpenBSD > > Networking FAQ, > > available at > > http://www.openbsd.org/faq/faq6.html#6.2 > > > > That explains the commands required to "reload" your > > IPF/IPNAT > > configuration files, as well as providing a fairly > > decent introduction > > to IPF. It has a link to the "IPF HOWTO" -- another > > helpful document. > > > > - andrew > > > > -- > > void signature () { > > cout << "Andrew Reid -- andrew.reid@plug.cx" << > > endl ; > > cout << "Cell: +61 401 946 813" << endl; > > cout << "Quidquid latine dictum sit, altum viditur" > > << endl; > > } > > > > http://travel.yahoo.com.au - Yahoo! Travel > - Got Itchy feet? Get inspired! > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message