Date: Mon, 4 Jun 2001 15:15:55 -0500 (CDT) From: Nick Rogness <nick@rogness.net> To: andy t <g_et1@hotmail.com> Cc: questions@FreeBSD.ORG Subject: Re: firewall ? Message-ID: <Pine.BSF.4.21.0106041508220.87716-100000@cody.jharris.com> In-Reply-To: <F127TebfJpbi7Phnzia0000cd17@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 4 Jun 2001, andy t wrote: > Hi, > > my machine has 3 ips and everything is firewall, so that there is no > cnnection in/out. how to make 1 ip only enable to in/out and the rest > of ips are blocked ? Since you didn't submit enough info, I will make assumptions about your setup. Nevertheless, here is an ipfw ruleset: ipfw add 1000 allow ip from X.X.X.X to any ipfw add 1001 allow ip from any to X.X.X.X ipfw add 2000 deny ip from any to any Nick Rogness <nick@rogness.net> - Keep on Routing in a Free World... "FreeBSD: The Power to Serve!" 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?Pine.BSF.4.21.0106041508220.87716-100000>