From owner-freebsd-questions@FreeBSD.ORG Fri Dec 5 10:29:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E83061065675 for ; Fri, 5 Dec 2008 10:29:16 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id AB18E8FC0A for ; Fri, 5 Dec 2008 10:29:16 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-24-200.dynamic.qsc.de [92.196.24.200]) by mx02.qsc.de (Postfix) with ESMTP id 291DF16C83B4; Fri, 5 Dec 2008 11:29:14 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mB5ATEUP001499; Fri, 5 Dec 2008 11:29:14 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 5 Dec 2008 11:29:14 +0100 From: Polytropon To: gwg7webbcom@yahoo.com Message-Id: <20081205112914.bad246af.freebsd@edvax.de> In-Reply-To: <916515.67967.qm@web52202.mail.re2.yahoo.com> References: <916515.67967.qm@web52202.mail.re2.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Freebsd Questions Subject: Re: IPFW Firewall Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2008 10:29:17 -0000 Often discussed and adviced... On Thu, 4 Dec 2008 16:26:04 -0800 (PST), G magicman = wrote: > here is part of the configuration file so far that the Co-lo people put i= n. > [...]=20 > #!/usr/local/bin/bash When possible, use the STANDARD form: #!/bin/sh Declare #!/usr/local/bin/bash only if you're intentionally using BASH specifig functionalities that SH doesn't include. May save you lots of headache. > 2. short of a reboot how do you start stop and restart the=A0 firewall You can use ipfw's rc.d script: # /etc/rc.d/ipfw start # /etc/rc.d/ipfw stop # /etc/rc.d/ipfw restart Just a small note, but I hope it will help you. --=20 Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...