Re: 請問一下rc.firewall的deny icmp? - BBS
By Eartha
at 2007-07-07T09:00
at 2007-07-07T09:00
Table of Contents
※ 引述《[email protected] (工程酥)》之銘言:
: /etc/rc.firewall:
: #!/bin/sh
: /sbin/ipfw -f flush
: /sbin/ipfw add deny icmp from any to myip
: /sbin/ipfw add pass all from any to any
: 設了之後人家就ping不到我了, 我也ping不出去 @@"
: 可以幫幫忙嗎?? tk's!!
icmp 有很多 type
以下供參考
$IPFW add allow icmp from me to any icmptypes 8 out via $EXTIF # echo request
$IPFW add allow icmp from any to me icmptypes 0 in via $EXTIF # echo reply
$IPFW add deny icmp from any to any
--
: /etc/rc.firewall:
: #!/bin/sh
: /sbin/ipfw -f flush
: /sbin/ipfw add deny icmp from any to myip
: /sbin/ipfw add pass all from any to any
: 設了之後人家就ping不到我了, 我也ping不出去 @@"
: 可以幫幫忙嗎?? tk's!!
icmp 有很多 type
以下供參考
$IPFW add allow icmp from me to any icmptypes 8 out via $EXTIF # echo request
$IPFW add allow icmp from any to me icmptypes 0 in via $EXTIF # echo reply
$IPFW add deny icmp from any to any
--
Tags:
BBS
All Comments
Related Posts
請問一下關於ports
By Harry
at 2007-07-06T13:18
at 2007-07-06T13:18
ssh登入時斷線
By Caitlin
at 2007-07-04T09:19
at 2007-07-04T09:19
刪檔案後可用空間卻愈來愈少?
By Audriana
at 2007-07-04T08:50
at 2007-07-04T08:50
刪檔案後可用空間卻愈來愈少?
By Annie
at 2007-07-04T08:28
at 2007-07-04T08:28
ssh登入時斷線
By Susan
at 2007-07-04T01:51
at 2007-07-04T01:51