Date: Thu, 17 Jun 1999 14:10:33 +1000 From: "Andrew Johns" <ajohns@TurnAround.com.au> To: "Brian Gallucci" <noc@expnet.net>, "Alfred Perlstein" <bright@rush.net> Cc: "FreeBSD" <freebsd-questions@FreeBSD.ORG> Subject: RE: Firewall Rules Message-ID: <001701beb877$5848af10$4001a8c0@tasajohns.turnaround.com.au> In-Reply-To: <002b01beb870$bf5f62e0$51f51c0a@expnet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Yeah - at the start of rc.firewall it flushes the rules again _unless_ you have firewall_quiet=YES defined (usually done in rc.conf), so the first command (the flush) worked ok, but the flush _inside_ rc.firewall _then_ disconnected you... Change rc.firewall to default to quiet unless otherwise specified. eg: pseuodo-code something like: if firewall_verbose = YES then fwcmd = ipfw else fwcmd = ipfw -q end That way, if you forget, it won't matter.... Otherwise, using the original command you had: firewall_quiet=YES; sh rc.firewall Note that you don't need the ipfw flush here as it's done inside rc.firewall anyway, which was the gotchya you experienced... ;) HTH > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of > Brian Gallucci > Sent: Thursday, 17 June 1999 13:23 > To: Andrew Johns; Alfred Perlstein > Cc: FreeBSD > Subject: Re: Firewall Rules > > > It just locked me out I had to reload them at the console.. > Anymore ideas ? > > Thanks > [snip] Regards To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001701beb877$5848af10$4001a8c0>