root@localhost:~# iptables -Fiptables v1.8.4 (legacy): can't initialize iptables table `filter': Permission denied (you must be root)Perhaps iptables or your kernel needs to be upgraded.
现在就是在root用户下
楼主问题怎么解决的
需要在root下,在命令前添加sudo,输入密码试试