Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.maxwell.syr.edu!worldnet.att.net!howland.erols.net!news-peer.sprintlink.net!news.sprintlink.net!sprint!uunet!in3.uu.net!194.77.0.15!news.gtn.com!klemm.gtn.com!not-for-mail
From: andreas@klemm.gtn.com (Andreas Klemm)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Need help with IPFW and FreeBsd 2.1.7
Date: 19 Apr 1997 15:50:41 GMT
Organization: private site ``powered by FreeBSD'', see http://www.FreeBSD.ORG/
Lines: 37
Message-ID: <5japkh$8o7$1@klemm.gtn.com>
References: <01bc4b32$64587ce0$664c1bcc@tony.gcr1.com>
NNTP-Posting-Host: klemm.gtn.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
To: "Tony" <tony@gcr1.com>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39365
[Posted and mailed]
In article <01bc4b32$64587ce0$664c1bcc@tony.gcr1.com>,
"Tony" <tony@gcr1.com> writes:
> I'm trying to get info on setting this up so that I can block ONLY a few
> IPs from the box ...?? Any ideas ?
RTFM :-)
man ipfw
.
.
.
EXAMPLES
This command adds an entry which denies all tcp packets from
hacker.evil.org to the telnet port of wolf.tambov.su from being forwarded
by the host:
ipfw add deny tcp from hacker.evil.org to wolf.tambov.su 23
This one disallows any connection from the entire hackers network to my
host:
ipfw addf deny all from 123.45.67.0/24 to my.host.org
.
.
.
Regards
Andreas ///
--
andreas@klemm.gtn.com /\/\___ Wiechers & Partner Datentechnik GmbH
Andreas Klemm ___/\/\/ Support Unix -- andreas.klemm@wup.de
pgp p-key http://www-swiss.ai.mit.edu/~bal/pks-toplev.html >>> powered by <<<
ftp://sunsite.unc.edu/pub/Linux/system/Printing/aps-491.tgz >>> FreeBSD <<<