安卓手机关闭防火墙命令

需要root,测试手机google pixels 1代,系统版本安卓8
adb shell之后进入手机之后
执行

iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
ip6tables -P INPUT ACCEPT
ip6tables -P OUTPUT ACCEPT
ip6tables -P FORWARD ACCEPT
posted @ 2021-04-16 10:35  公众号python学习开发  阅读(1786)  评论(0编辑  收藏  举报