宜蘭縣教育支援平台 會員登入 會員註冊 我的i教書 發表新文章

1. 搜尋 iptables 相關套件
# apt-cache search iptables | grep ^iptables
iptables - administration tools for packet filtering and NAT
iptables-converter - convert iptables-commands from a file to iptables-save format
iptables-converter-doc - sphinx documentation for iptables-converter
iptables-dev - transitional dummy package
iptables-nftables-compat - iptables compat tools for nftables
iptables-optimizer - sort iptables rules by packet counters
iptables-optimizer-doc - sphinx html documentation for iptables-optimizer
iptables-persistent - boot-time loader for netfilter rules, iptables plugin

2. 安裝 iptables-persistent 套件
# apt-get install iptables-persistent
   ipv4 防火牆 /etc/iptables/rules.v4
   ipv6 防火牆 /etc/iptables/rules.v6




 (閱讀全文)