Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Dec 2008 11:29:14 +0100
From:      Polytropon <freebsd@edvax.de>
To:        gwg7webbcom@yahoo.com
Cc:        Freebsd Questions <freebsd-questions@freebsd.org>
Subject:   Re: IPFW Firewall Question
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>

next in thread | previous in thread | raw e-mail | index | archive | help
Often discussed and adviced...

On Thu, 4 Dec 2008 16:26:04 -0800 (PST), G magicman <gwg7webbcom@yahoo.com>=
 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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081205112914.bad246af.freebsd>