Date: Sun, 7 Oct 2001 15:13:59 -0500 From: Krzysztof Parzyszek <kparz@iastate.edu> To: questions@FreeBSD.ORG Cc: Tim Erlin <tperlin@yahoo.com> Subject: Re: IPFW rules question Message-ID: <20011007151359.A90569@warsaw.scl.ameslab.gov> In-Reply-To: <20011007194900.97491.qmail@web11702.mail.yahoo.com>; from tperlin@yahoo.com on Sun, Oct 07, 2001 at 12:49:00PM -0700 References: <20011007194900.97491.qmail@web11702.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 07, 2001 at 12:49:00PM -0700, Tim Erlin wrote: > two quick questions: > > 1. How do I get ipfw to read rc.firewall without > restarting? It's not listed as a process, so I can't > send it a HUP signal... Just invoke /etc/rc.firewall. Make sure all of the shell variables that rc.firewall references are properly set. You may want to create a shell script that does it, or create a shell script that completely takes over IPFW configuration and run it from rc.firewall/rc.local/whatever on startup. In the latter case you'd basically rerun that script... > 2. What's wrong with this rule? > > ipfw add deny all from any to 192.168.40.7 587 Protocol ``any'' means IP, and IP does not have a concept of port. Port numbers only make sense for TCP and UDP. Krzysztof 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?20011007151359.A90569>