From owner-freebsd-questions Tue Sep 8 19:14:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA00315 for freebsd-questions-outgoing; Tue, 8 Sep 1998 19:14:25 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ns1.thetingroup.com (c879583-a.ptbrg1.sfba.home.com [24.1.88.78]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA00287 for ; Tue, 8 Sep 1998 19:14:19 -0700 (PDT) (envelope-from brian@briang.org) Received: from brian-desktop ([192.168.0.41] (may be forged)) by ns1.thetingroup.com (2.5 Build 2640 (Berkeley 8.8.6)/8.8.4) with SMTP id TAA00021 for ; Tue, 08 Sep 1998 19:20:30 -0700 Message-ID: <000901bddb98$09eed180$2900a8c0@brian-desktop.thetingroup.com> From: "Briang.org" To: Subject: IP Blocking Date: Tue, 8 Sep 1998 19:17:34 -0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0006_01BDDB5D.553F5FA0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0006_01BDDB5D.553F5FA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable What I'm trying to do is block a Domain or a hole Class C segment, this = is what I'm running ED0 =3D 24.1.88.xx ED1 =3D 192.168.0.1 local Lan =3D 192.168.0.2 to 192.168.0.64 /KERNEL IPDIVERT IPFIREWALL IPFIREWALL_VERBOSE IPFIREWALL_VERBOSE_LIMIT /etc/rc/local ipfw -f flush ipfw add 1000 pass all from 127.0.0.1 to 127.0.0.1 ipfw add divert 6668 all from any to any via ed0 ipfw add 6500 pass all from any to any I'm trying to block all traffic from 24.0.0.0/24 or which is home.com. I tryed=20 " ipfw add deny all from 24.0.0.0/24 to 24.1.88.78 via ed0 " And that didn't work,=20 Can you tell me how to log all incoming traffic to the box ? I have looked at man ipfw and just dont understand what it's trying to say about logging. Thanks Brian =20 ------=_NextPart_000_0006_01BDDB5D.553F5FA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
What I'm trying to do is block a = Domain or a=20 hole Class C segment, this is what I'm running
 
ED0 =3D 24.1.88.xx
ED1 =3D 192.168.0.1
local Lan =3D 192.168.0.2 to = 192.168.0.64
 
/KERNEL
IPDIVERT
IPFIREWALL
IPFIREWALL_VERBOSE
IPFIREWALL_VERBOSE_LIMIT
 
/etc/rc/local
ipfw -f flush
ipfw add 1000 pass all from = 127.0.0.1 to=20 127.0.0.1
ipfw add divert 6668 all from any to any via ed0
ipfw = add 6500=20 pass all from any to any
 
I'm trying to block all traffic from = 24.0.0.0/24=20 or which is home.com.
I tryed
" ipfw = add deny all=20 from 24.0.0.0/24 to 24.1.88.78 via ed0 "
And that didn't work,
Can you tell me how to log all incoming traffic to = the box=20 ?
I have looked at man ipfw and just dont understand = what it's=20 trying
to say about logging.
 
Thanks Brian
 
 
------=_NextPart_000_0006_01BDDB5D.553F5FA0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message