From owner-freebsd-questions@FreeBSD.ORG Wed Mar 10 11:38:31 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 598A116A4CE for ; Wed, 10 Mar 2004 11:38:31 -0800 (PST) Received: from sentry.24cl.com (174.113.sn.ct.dsl.thebiz.net [216.238.113.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF0F843D1F for ; Wed, 10 Mar 2004 11:38:30 -0800 (PST) (envelope-from zlists@mgm51.com) Received: from XPMM (unknown [63.119.50.193]) by sentry.24cl.com (Postfix) with ESMTP id 8A65337253; Wed, 10 Mar 2004 14:38:29 -0500 (EST) Message-ID: <200403101438290738.04DF874F@sentry.24cl.com> In-Reply-To: <404F6C3D.3040806@gmx.net> References: <404F63D6.3070204@freemail.hu> <404F6C3D.3040806@gmx.net> X-Mailer: Courier 3.50.00.00.1081 (http://www.rosecitysoftware.com) (P) Date: Wed, 10 Mar 2004 14:38:29 -0500 From: "MikeM" To: "Thomas Vogt" , "Nagy László Zsolt" Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-2" Content-Transfer-Encoding: quoted-printable cc: FreeBSD Subject: Re: IPFW question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2004 19:38:31 -0000 Since I reload the firewall rules remotely, I need the -q option on the ipfw command, e.g.: ipfw -q /etc/ipfw.conf otherwise I lose my ssh connection to the box. See man ipfw(8) for details on -q On 3/10/2004 at 8:27 PM Thomas Vogt wrote: |Hi | |ipfw flush # deletes all |ipfw /etc/ipfw.conf # loads all | |regards |Thomas | |Nagy L=E1szl=F3 Zsolt wrote: |> |> Hi! |> |> I'm using my own ip firewall (firewall_type=3D"/etc/ipfw.conf") on my |> FreeBSD 5.2 system. My problem is, how can I reload the whole thing? The |> ipfw command is for creating and deleting individual rules. What I would |> like to do is to create profiles (different config files) and reload the |> whole firewall configuration anytime. Is there a command for this? What |> I do now is that I reboot my box every time I change firewall |> configuration. But of course this is clumsy and very bad. I may start |> services on the server which will not allow me to reboot daily. Thanks |> in advance. |> |> Laci 2.0 |> |> _______________________________________________ |> 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" |> |> | |_______________________________________________ |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" =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D