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 @ 2023-11-30 14:40  papering  阅读(61)  评论(0编辑  收藏  举报