Mask's web site
作品集 | 大學回憶 | 我的家庭
我的最愛 > FreeBSD > Firewall
   
Make this server like inexistent, deny all icmp packets:
ipfw add deny icmp from any to 211.21.242.254

Result:

C:\WINDOWS\Desktop>ping 211.21.242.254

Pinging 211.21.242.254 with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 211.21.242.254:
    Packets: Sent = 4, Received = 0, Lost = 4(100% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

Ping is still working in private LAN, but useless outside.

 

© by Mask from 2001/7.
All rights reserved.