Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jan 2000 14:29:17 -0500 (EST)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        scrappy@hub.org (The Hermit Hacker)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: using ipfw to filter according to IP ...
Message-ID:  <200001091929.OAA00969@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <Pine.BSF.4.21.0001090355500.18498-100000@thelab.hub.org> from The Hermit Hacker at "Jan 9, 2000 03:56:52 am"

next in thread | previous in thread | raw e-mail | index | archive | help
The Hermit Hacker wrote,
> 
> Bad subject...but, if I have a machine with two IPs assigned to an
> interface, can I use ipfw to limit incoming connections such that only
> IP-2 can accept connections on port X?

Yes.

# ipfw add deny tcp from any to <IP-2> <X>

-- 
Crist J. Clark                           cjclark@home.com


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?200001091929.OAA00969>