如何更改路由器上的 iptables 规则?

如何更改路由器上的 iptables 规则?

如何更改路由器上的 iptables 规则

Chain ipfilter (1 references)
target     prot opt source               destination         
DROP       all  --  anywhere             anywhere            destination IP range 10.0.0.1-10.255.255.254 
DROP       all  --  anywhere             anywhere

Chain ipfilter (1 references)
target     prot opt source               destination
DROP       all  --  anywhere             anywhere            destination IP range 10.0.0.1-10.255.255.254
ACCEPT     all  --  anywhere             anywhere            

答案1

这是我的方法

iptables -R ipfilter 2 -j ACCEPT

相关内容