Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jan 2000 15:08:16 -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:  <200001092008.PAA01106@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <200001091929.OAA00969@cc942873-a.ewndsr1.nj.home.com> from "Crist J. Clark" at "Jan 9, 2000 02:29:17 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Crist J. Clark wrote,
> 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>

s/deny/pass/

Oops.
-- 
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?200001092008.PAA01106>