iptables

find / | grep iptables
/system/bin/iptables
/system/bin/iptables-restore
/system/bin/iptables-save

 

/system/bin/iptables -L -n
/system/bin/iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination
bw_INPUT all -- 0.0.0.0/0 0.0.0.0/0
fw_INPUT all -- 0.0.0.0/0 0.0.0.0/0

Chain FORWARD (policy ACCEPT)
target prot opt source destination
oem_fwd all -- 0.0.0.0/0 0.0.0.0/0
fw_FORWARD all -- 0.0.0.0/0 0.0.0.0/0
bw_FORWARD all -- 0.0.0.0/0 0.0.0.0/0
natctrl_FORWARD all -- 0.0.0.0/0 0.0.0.0/0

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
oem_out all -- 0.0.0.0/0 0.0.0.0/0
fw_OUTPUT all -- 0.0.0.0/0 0.0.0.0/0
st_OUTPUT all -- 0.0.0.0/0 0.0.0.0/0
bw_OUTPUT all -- 0.0.0.0/0 0.0.0.0/0

Chain bw_FORWARD (1 references)
target prot opt source destination
bw_costly_rmnet_data0 all -- 0.0.0.0/0 0.0.0.0/0

Chain bw_INPUT (1 references)
target prot opt source destination
all -- 0.0.0.0/0 0.0.0.0/0 ! quota globalAlert: 2097152 bytes
bw_costly_rmnet_data0 all -- 0.0.0.0/0 0.0.0.0/0
all -- 0.0.0.0/0 0.0.0.0/0 owner socket exists

Chain bw_OUTPUT (1 references)
target prot opt source destination
all -- 0.0.0.0/0 0.0.0.0/0 ! quota globalAlert: 2097152 bytes
bw_costly_rmnet_data0 all -- 0.0.0.0/0 0.0.0.0/0
all -- 0.0.0.0/0 0.0.0.0/0 owner socket exists

Chain bw_costly_rmnet_data0 (3 references)
target prot opt source destination
bw_penalty_box all -- 0.0.0.0/0 0.0.0.0/0
REJECT all -- 0.0.0.0/0 0.0.0.0/0 ! quota rmnet_data0: 9223372036854775807 bytes reject-with icmp-port-unreachable

Chain bw_costly_shared (0 references)
target prot opt source destination
bw_penalty_box all -- 0.0.0.0/0 0.0.0.0/0

Chain bw_data_saver (1 references)
target prot opt source destination
RETURN all -- 0.0.0.0/0 0.0.0.0/0

Chain bw_happy_box (1 references)
target prot opt source destination
RETURN all -- 0.0.0.0/0 0.0.0.0/0 owner UID match 10007
RETURN all -- 0.0.0.0/0 0.0.0.0/0 owner UID match 0-9999
bw_data_saver all -- 0.0.0.0/0 0.0.0.0/0

Chain bw_penalty_box (2 references)
target prot opt source destination
bw_happy_box all -- 0.0.0.0/0 0.0.0.0/0

Chain fw_FORWARD (1 references)
target prot opt source destination

Chain fw_INPUT (1 references)
target prot opt source destination
fw_standby all -- 0.0.0.0/0 0.0.0.0/0

Chain fw_OUTPUT (1 references)
target prot opt source destination
fw_standby all -- 0.0.0.0/0 0.0.0.0/0

Chain fw_dozable (0 references)
target prot opt source destination
RETURN all -- 0.0.0.0/0 0.0.0.0/0
RETURN tcp -- 0.0.0.0/0 0.0.0.0/0 tcp flags:0x04/0x04
RETURN all -- 0.0.0.0/0 0.0.0.0/0 owner UID match 0-9999
DROP all -- 0.0.0.0/0 0.0.0.0/0

Chain fw_powersave (0 references)
target prot opt source destination
RETURN all -- 0.0.0.0/0 0.0.0.0/0
RETURN tcp -- 0.0.0.0/0 0.0.0.0/0 tcp flags:0x04/0x04
RETURN all -- 0.0.0.0/0 0.0.0.0/0 owner UID match 0-9999
DROP all -- 0.0.0.0/0 0.0.0.0/0

Chain fw_standby (2 references)
target prot opt source destination
RETURN all -- 0.0.0.0/0 0.0.0.0/0
RETURN tcp -- 0.0.0.0/0 0.0.0.0/0 tcp flags:0x04/0x04

Chain natctrl_FORWARD (1 references)
target prot opt source destination
DROP all -- 0.0.0.0/0 0.0.0.0/0

Chain natctrl_tether_counters (0 references)
target prot opt source destination

Chain oem_fwd (1 references)
target prot opt source destination

Chain oem_out (1 references)
target prot opt source destination

Chain st_OUTPUT (1 references)
target prot opt source destination

Chain st_clear_caught (2 references)
target prot opt source destination

Chain st_clear_detect (0 references)
target prot opt source destination
REJECT all -- 0.0.0.0/0 0.0.0.0/0 connmark match 0x2000000/0x2000000 reject-with icmp-port-unreachable
RETURN all -- 0.0.0.0/0 0.0.0.0/0 connmark match 0x1000000/0x1000000
CONNMARK tcp -- 0.0.0.0/0 0.0.0.0/0 u32 "0x0>>0x16&0x3c@0xc>>0x1a&0x3c@0x0&0xffff0000=0x16030000&&0x0>>0x16&0x3c@0xc>>0x1a&0x3c@0x4&0xff0000=0x10000" CONNMARK or 0x1000000
CONNMARK udp -- 0.0.0.0/0 0.0.0.0/0 u32 "0x0>>0x16&0x3c@0x8&0xffff0000=0x16fe0000&&0x0>>0x16&0x3c@0x14&0xff0000=0x10000" CONNMARK or 0x1000000
RETURN all -- 0.0.0.0/0 0.0.0.0/0 connmark match 0x1000000/0x1000000
st_clear_caught tcp -- 0.0.0.0/0 0.0.0.0/0 state ESTABLISHED u32 "0x0>>0x16&0x3c@0xc>>0x1a&0x3c@0x0&0x0=0x0"
st_clear_caught udp -- 0.0.0.0/0 0.0.0.0/0

Chain st_penalty_log (0 references)
target prot opt source destination
CONNMARK all -- 0.0.0.0/0 0.0.0.0/0 CONNMARK or 0x1000000
NFLOG all -- 0.0.0.0/0 0.0.0.0/0

Chain st_penalty_reject (0 references)
target prot opt source destination
CONNMARK all -- 0.0.0.0/0 0.0.0.0/0 CONNMARK or 0x2000000
NFLOG all -- 0.0.0.0/0 0.0.0.0/0
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable

 

android 开放 ip 端口号,Linux服务器上新增开放端口号【ip地址多个端口访问需要开放端口】...-CSDN博客 https://blog.csdn.net/weixin_42118701/article/details/117594658

安卓手机修改host_android 修改 hostname-CSDN博客 https://blog.csdn.net/wy520/article/details/123047924

 

 

 

 

 

 

 

posted @   papering  阅读(69)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 零经验选手,Compose 一天开发一款小游戏!
· 通过 API 将Deepseek响应流式内容输出到前端
· 因为Apifox不支持离线,我果断选择了Apipost!
历史上的今天:
2022-11-30 Pattern-defeating Quicksort
2022-11-30 区分 Protobuf 中缺失值和默认值
2022-11-30 无人机声波定位技术 无人机能够发送辅助定位的声学脉冲信号
2022-11-30 前端性能
2022-11-30 通用流程编排组件
2022-11-30 Context 是如何影响 grpc 通信超时控制的 行扩容且扩容后的元素数量超过原始切片容量时,底层数组会迁移到另片内存区域
2021-11-30 东南亚“美团” Grab 的搜索索引优化之法
点击右上角即可分享
微信分享提示