Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Oct 2002 08:51:03 -0500
From:      "Jack L. Stone" <jackstone@sage-one.net>
To:        "Patrick O'Reilly" <bsd@perimeter.co.za>, questions@FreeBSD.ORG, "master" <master@tyranz.com>
Subject:   Re: block icmp with ipfw
Message-ID:  <3.0.5.32.20021005085103.011d62c0@mail.sage-one.net>
In-Reply-To: <005d01c26c74$fdebf260$0200000a@perimeter.co.za>
References:  <010501c26c6f$90eaecc0$0201a8c0@sebxp>

next in thread | previous in thread | raw e-mail | index | archive | help
At 03:41 PM 10.5.2002 +0200, Patrick O'Reilly wrote:
>From: "master" <master@tyranz.com>
>
>> hi all i would like to know the syntax of ipfw to block icmp ping ?
>(echo
>> and reply)
>
>ipfw add 123 deny ip from any to any icmtypes 8
>
>man ipfw and search for "icmptypes" .
>
>---
>Regards,
>Patrick O'Reilly.
>    ___        _            __

.... but if you still want to ping OUT....
${fwcmd} add pass icmp from any to any icmptypes 8 out via ${oif}

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
jackstone@sage-one.net

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?3.0.5.32.20021005085103.011d62c0>