apt-get install iptables-persistent
save
service netfilter-persistent save
restore
# vi /etc/rc.local
iptables-restore < /etc/iptables/rules.v4
apt-get install iptables-persistent
service netfilter-persistent save
# vi /etc/rc.local
iptables-restore < /etc/iptables/rules.v4
コメント