Re: 請問一下rc.firewall的deny icmp?

看板FreeBSD作者 (Powered by Zend Engine2)時間18年前 (2007/07/07 09:00), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/5 (看更多)
※ 引述《AndyLie.bbs@bbs.wretch.cc (工程酥)》之銘言: : /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 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.253.33
文章代碼(AID): #16ZkNB91 (FreeBSD)
文章代碼(AID): #16ZkNB91 (FreeBSD)