ubuntu iptables重启生效:
save roles to a file:
iptables-save >/etc/iptables.roles
edit /etc/network/interfaces:
vim /etc/network/interfaces
add:
pre-up iptables-restore < /etc/iptables.roles
转载于:https://www.cnblogs.com/dongzhiquan/p/11427462.html
ubuntu iptables重启生效:
save roles to a file:
iptables-save >/etc/iptables.roles
edit /etc/network/interfaces:
vim /etc/network/interfaces
add:
pre-up iptables-restore < /etc/iptables.roles
转载于:https://www.cnblogs.com/dongzhiquan/p/11427462.html