修复Linode VPS iptables重启出现的security raw nat mangle filter [FAILED]错误

service iptables restart
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: security raw nat mangle filter [FAILED]
Unloading iptables modules: [ OK ]
Applying iptables firewall rules: [ OK ]

参考Linonde官方论坛的帖子,修复过程如下:

cd /etc/init.d 
mv iptables ~/iptables.bak 
wget http://epoxie.net/12023.txt && cat 12023.txt | tr -d '\r' > iptables 
chmod +x iptables 
rm -rf 12023.txt

Now, “iptables” should now start successfully:

再次执行

service iptables restart 

成功提示入下:
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: security raw nat mangle filter [ OK ]
Unloading iptables modules: [ OK ]
Applying iptables firewall rules: [ OK ]

EDIT: I don’t have this error with the latest paravirt kernel 3