From owner-freebsd-questions Sun Jan 3 12:51:07 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA06358 for freebsd-questions-outgoing; Sun, 3 Jan 1999 12:51:07 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cicero0.cybercity.dk (cicero0.cybercity.dk [212.242.40.52]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA06353 for ; Sun, 3 Jan 1999 12:51:04 -0800 (PST) (envelope-from lasse@email.dk) Received: from www4.cybercity.dk (www4.cybercity.dk [212.242.42.34]) by cicero0.cybercity.dk (8.8.8/8.8.7) with ESMTP id VAA04567 for ; Sun, 3 Jan 1999 21:50:28 +0100 (CET) (envelope-from lasse@email.dk) Received: from email.dk (msx-esp-2e-5.ppp.cybercity.dk [212.242.22.69]) by www4.cybercity.dk (8.8.7/8.8.7) with ESMTP id VAA29027 for ; Sun, 3 Jan 1999 21:50:26 +0100 (CET) (envelope-from lasse@email.dk) Message-ID: <368FD872.C6D876A5@email.dk> Date: Sun, 03 Jan 1999 21:52:02 +0100 From: "Lasse L. Johnsen" Organization: CyberCity Internet X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 2.2.7-RELEASE i386) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: IPFW Question Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I ran into a problem trying to do the following: I want, using the IPFW, to disable my echo service. This works via icmp so the following line disables it totally: "ipfw add 1 reject icmp from any to 212.242.22.0/24" <- being my subnet However - this makes it impossible for me to ping others - and that wasen't intended so I tried this: "ipfw add 1 reject icmp from any to 212.242.22.0/24 7" this is still not possible. When trying to reject or deny icmp no port can be specified, and if I deny or reject all trafic ( tcp/udp) to my port 7 it is still possible to ping my computer. My kernel has of course been compiled to support ipfw. Can anybody help me? Best Regards Lasse L. Johnsen /Denmark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message