ipfw & ip6fw Dual Stack
ipfw 相關教學: http://ohaha.ks.edu.tw/post/1/14
因為 IPv4/IPv6 Dual Stack 需求. 修改ipfw設定
對於 IPv6 , ipfw 開放 ipv6 所有連線
allow ipv6 from any to anyIPv6協定則由 ip6fw處理, 相關設定 在 /etc/rc.conf 增加 ,
讓 ipv6相關防護設定由rc.firewall6 控制.
ipv6_firewall_enable="YES"其餘設定類似ipfw,暫時省略.
ipv6_firewall_script="/etc/rc.firewall6"
ipv6_firewall_type="OPEN"
舊系統可能需要在kernel加上以下內容,重新編譯.
options IPV6FIREWALL
options IPV6FIREWALL_VERBOSE
options IPV6FIREWALL_VERBOSE_LIMIT=100
options IPV6FIREWALL_DEFAULT_TO_ACCEPT
迴響 |
0 引用