IPFW Firewall Question

Polytropon freebsd at edvax.de
Fri Dec 5 02:29:17 PST 2008

Often discussed and adviced...

On Thu, 4 Dec 2008 16:26:04 -0800 (PST), G magicman <gwg7webbcom at yahoo.com> wrote:
> here is part of the configuration file so far that the Co-lo people put in.
> [...] 
> #!/usr/local/bin/bash

When possible, use the STANDARD form:


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  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.

>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list