Date: Sat, 29 Dec 2001 10:08:14 +1300 From: Jonathan Chen <jonc@chen.org.nz> To: Joe & Fhe Barbish <barbish@a1poweruser.com> Cc: FBSD Questions <questions@FreeBSD.ORG> Subject: Re: avoid ping Message-ID: <20011229100814.A24652@grimoire.chen.org.nz> In-Reply-To: <LPBBIGIAAKKEOEJOLEGOOEKACKAA.barbish@a1poweruser.com>; from barbish@a1poweruser.com on Fri, Dec 28, 2001 at 01:10:21PM -0500 References: <20011221010222.R374-100000@catalyst.sasknow.net> <LPBBIGIAAKKEOEJOLEGOOEKACKAA.barbish@a1poweruser.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 28, 2001 at 01:10:21PM -0500, Joe & Fhe Barbish wrote:
> You responded
> ipfw add 400 deny icmp from any to ${you} icmptype 8
> Where ${you} is the public IP address of your machine, or network
> address of your subnet.
> 
> I respond.
> ${you} is the static IP address issued by your ISP. How do I get
> this value if my ISP does dynamic IP assignments?
You could write it like this:
	ipfw add 400 deny icmp from any to me icmptype 8 via ${IF}
where ${IF} is the interface involved (eg: xl0, fxp0, etc).
Cheers.
-- 
Jonathan Chen <jonc@chen.org.nz>
----------------------------------------------------------------------
  If you're right 90% of the time, why quibble about the remaining 3%?
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?20011229100814.A24652>
