Date: Wed, 25 Dec 2002 13:27:10 +0200 (EET) From: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> To: ay@sita.kiev.ua Cc: freebsd-questions@freebsd.org Subject: Re: ipfw count Q Message-ID: <200212251127.gBPBRAcN000350@pm514-9.comsys.ntu-kpi.kiev.ua> In-Reply-To: <20021222125518.A84159@sita.kiev.ua.lucky.freebsd.ipfw>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 22 Dec 2002 11:10:01 +0000 (UTC) in lucky.freebsd.questions, Alexander Yeremenko wrote: > I have a box, running as router. > Network A.B.C/Z is connected via ppp0 > router:/rc.firewall : > ipfw add 10 connt all from any to any via ppp0 > ipfw add 15 connt all from any to A.B.C/Z > ipfw add 15 connt all from A.B.C/Z to any > Rules 10 and 15 gives absolutely different results. > What's wrong ? > Nothing is wrong, because #10 and #15 describe completely different firewall rules. For example, #10 checks only packets via ppp0, but #15 checks packets via any interface. And so on. 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?200212251127.gBPBRAcN000350>