|
如题,本人用的netgear wndr 4300,刷了好几个版本的openwrt,多拨后用mwan3做负载均衡,在防火墙里面做了端口转发规则,测试下来端口已经映射出去了,但是连接不上端口,比如我把内网192.168.1.2的ssh 22端口映射到外网的223端口,在外网用telnet 223端口,可以看到openssh版本号,但是使用ssh连接的时候就连接不上了,还有就是有部分网站需要指定default路由表才能打开,请问有谁知道该如何解决这问题呢?谢谢!
附mwan3的Troubleshooting Data:
- Software versions :
- OpenWrt - OpenWrt Chaos Calmer r42082
- LuCI - svn-r10469
- mwan3 - 1.4-22
- 1.4-20
- luci-app-mwan3 - 1.2-19
- Output of "cat /etc/config/mwan3" :
- config rule 'right'
- option dest_ip 'right.com.cn'
- option proto 'all'
- option use_policy 'default'
- config rule 'CHDbits'
- option proto 'tcp'
- option use_policy 'wan2_only'
- option dest_port '80,443'
- option dest_ip 'chdbits.org'
- config rule 'IPv6'
- option dest_ip '216.218.221.6'
- option proto 'all'
- option use_policy 'wan2_only'
- config rule 'web'
- option proto 'tcp'
- option use_policy 'wan1_only'
- option dest_port '22,80,443,8000'
- config rule 'loadbalance'
- option dest_ip '0.0.0.0/0'
- option use_policy 'loadbalanced'
- option proto 'all'
- option equalize '1'
- config policy 'wan1_only'
- list use_member 'wan1_m1_w3'
- config policy 'wan2_only'
- list use_member 'wan2_m1_w2'
- config policy 'loadbalanced'
- list use_member 'wan1_m1_w3'
- list use_member 'wan2_m1_w2'
- list use_member 'wan3_m1_w2'
- list use_member 'wan4_m1_w2'
- list use_member 'wan5_m1_w2'
- list use_member 'wan6_m1_w2'
- config interface 'wan1'
- option enabled '1'
- option reliability '1'
- option count '1'
- option down '3'
- option up '3'
- option timeout '3'
- list track_ip '114.114.114.114'
- list track_ip '114.114.115.115'
- option interval '3600'
- option reroute '1'
- config interface 'wan2'
- option enabled '1'
- option reliability '1'
- option count '1'
- option down '3'
- option up '3'
- option timeout '3'
- list track_ip '114.114.114.114'
- list track_ip '114.114.115.115'
- option interval '3600'
- option reroute '1'
- config interface 'wan3'
- option enabled '1'
- option reliability '1'
- option count '1'
- option down '3'
- option up '3'
- option timeout '3'
- list track_ip '114.114.114.114'
- list track_ip '114.114.115.115'
- option interval '3600'
- option reroute '1'
- config interface 'wan4'
- option enabled '1'
- option reliability '1'
- option count '1'
- option down '3'
- option up '3'
- option timeout '3'
- list track_ip '114.114.114.114'
- list track_ip '114.114.115.115'
- option interval '3600'
- option reroute '1'
- config interface 'wan5'
- option enabled '1'
- option reliability '1'
- option count '1'
- option down '3'
- option up '3'
- option timeout '3'
- list track_ip '114.114.114.114'
- list track_ip '114.114.115.115'
- option interval '3600'
- option reroute '1'
- config interface 'wan6'
- option enabled '1'
- option reliability '1'
- option count '1'
- option down '3'
- option up '3'
- option timeout '3'
- list track_ip '114.114.114.114'
- list track_ip '114.114.115.115'
- option interval '3600'
- option reroute '1'
- config member 'wan1_m1_w3'
- option metric '1'
- option weight '3'
- option interface 'wan1'
- config member 'wan2_m1_w2'
- option interface 'wan2'
- option metric '1'
- option weight '2'
- config member 'wan3_m1_w2'
- option interface 'wan3'
- option metric '1'
- option weight '2'
- config member 'wan4_m1_w2'
- option interface 'wan4'
- option metric '1'
- option weight '2'
- config member 'wan5_m1_w2'
- option interface 'wan5'
- option metric '1'
- option weight '2'
- config member 'wan6_m1_w2'
- option interface 'wan6'
- option metric '1'
- option weight '2'
- Output of "cat /etc/config/network" :
- config interface 'loopback'
- option ifname 'lo'
- option proto 'static'
- option ipaddr '127.0.0.1'
- option netmask '255.0.0.0'
- config globals 'globals'
- option ula_prefix '2001:470:fbde::/48'
- config interface 'lan'
- option ifname 'eth0.1'
- option force_link '1'
- option type 'bridge'
- option proto 'static'
- option ipaddr '192.168.1.1'
- option netmask '255.255.255.0'
- option macaddr '44:94:fc:8a:60:f7'
- option dns '114.114.114.114 114.114.115.115'
- option ip6addr '2001:470:fbde::1/48'
- option ip6prefix '2001:470:fbde::/48'
- config interface 'wan1'
- option ifname 'eth0.2'
- option _orig_ifname 'eth0.2'
- option _orig_bridge 'false'
- option proto 'pppoe'
- USERNAME HIDDEN
- PASSWORD HIDDEN
- option peerdns '0'
- option dns '114.114.114.114 114.114.115.115'
- option metric '10'
- config interface 'wan2'
- option ifname 'eth0.3'
- option _orig_ifname 'eth0.3'
- option _orig_bridge 'false'
- option proto 'pppoe'
- USERNAME HIDDEN
- PASSWORD HIDDEN
- option peerdns '0'
- option dns '114.114.114.114 114.114.115.115'
- option metric '20'
-
- config interface 'wan3'
- option ifname 'eth0.3'
- option _orig_ifname 'eth0.3'
- option _orig_bridge 'false'
- option proto 'pppoe'
- USERNAME HIDDEN
- PASSWORD HIDDEN
- option peerdns '0'
- option dns '114.114.114.114 114.114.115.115'
- option metric '30'
-
- config interface 'wan4'
- option ifname 'eth0.3'
- option _orig_ifname 'eth0.3'
- option _orig_bridge 'false'
- option proto 'pppoe'
- USERNAME HIDDEN
- PASSWORD HIDDEN
- option peerdns '0'
- option dns '114.114.114.114 114.114.115.115'
- option metric '40'
-
- config interface 'wan5'
- option ifname 'eth0.3'
- option _orig_ifname 'eth0.3'
- option _orig_bridge 'false'
- option proto 'pppoe'
- USERNAME HIDDEN
- PASSWORD HIDDEN
- option peerdns '0'
- option dns '114.114.114.114 114.114.115.115'
- option metric '50'
-
- config interface 'wan6'
- option ifname 'eth0.3'
- option _orig_ifname 'eth0.3'
- option _orig_bridge 'false'
- option proto 'pppoe'
- USERNAME HIDDEN
- PASSWORD HIDDEN
- option peerdns '0'
- option dns '114.114.114.114 114.114.115.115'
- option metric '60'
- config interface 'wan7'
- option _orig_ifname '@wan'
- option _orig_bridge 'false'
- option proto '6in4'
- option peeraddr '216.218.221.6'
- option ip6addr '2001:470:18:978::2'
- option ip6prefix '2001:470:fbde::/48'
- option mtu '1480'
- config switch
- option name 'switch0'
- option reset '1'
- option enable_vlan '1'
- config switch_vlan
- option device 'switch0'
- option vlan '1'
- option ports '0t 1 2 3'
- config switch_vlan
- option device 'switch0'
- option vlan '2'
- option ports '0t 5'
- config switch_vlan
- option device 'switch0'
- option vlan '3'
- option ports '0t 4'
- Output of "ifconfig" :
- 6in4-wan7 Link encap:IPv6-in-IPv4
- inet6 addr: 2001:470:18:978::2/128 Scope:Global
- inet6 addr: fe80::debc:c5fb/64 Scope:Link
- UP POINTOPOINT RUNNING NOARP MTU:1480 Metric:1
- RX packets:4030 errors:0 dropped:0 overruns:0 frame:0
- TX packets:8092 errors:0 dropped:7 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:3268203 (3.1 MiB) TX bytes:950321 (928.0 KiB)
- br-lan Link encap:Ethernet HWaddr 44:94:FC:8A:60:F7
- inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
- inet6 addr: 2001:470:fbde::1/48 Scope:Global
- inet6 addr: fe80::4694:fcff:fe8a:60f7/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:1088502 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1484513 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:188502242 (179.7 MiB) TX bytes:1472069153 (1.3 GiB)
- eth0 Link encap:Ethernet HWaddr 72:E2:D1:39:6A:5A
- inet6 addr: fe80::70e2:d1ff:fe39:6a5a/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:3218638 errors:0 dropped:10 overruns:10 frame:0
- TX packets:2878085 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:1678266349 (1.5 GiB) TX bytes:1673923574 (1.5 GiB)
- Interrupt:4
- eth0.1 Link encap:Ethernet HWaddr 72:E2:D1:39:6A:5A
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:1086810 errors:0 dropped:41 overruns:0 frame:0
- TX packets:1447551 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:188340171 (179.6 MiB) TX bytes:1453996441 (1.3 GiB)
- eth0.2 Link encap:Ethernet HWaddr 72:E2:D1:39:6A:5A
- inet6 addr: fe80::70e2:d1ff:fe39:6a5a/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:1517501 errors:0 dropped:317790 overruns:0 frame:0
- TX packets:822753 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:1315144670 (1.2 GiB) TX bytes:108346914 (103.3 MiB)
- eth0.3 Link encap:Ethernet HWaddr 72:E2:D1:39:6A:5A
- inet6 addr: fe80::70e2:d1ff:fe39:6a5a/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:614292 errors:0 dropped:79443 overruns:0 frame:0
- TX packets:607885 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:116842886 (111.4 MiB) TX bytes:100093249 (95.4 MiB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:2933 errors:0 dropped:0 overruns:0 frame:0
- TX packets:2933 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:234202 (228.7 KiB) TX bytes:234202 (228.7 KiB)
- pppoe-wan1 Link encap:Point-to-Point Protocol
- inet addr:222.188.197.251 P-t-P:222.188.197.1 Mask:255.255.255.255
- UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
- RX packets:1132322 errors:0 dropped:0 overruns:0 frame:0
- TX packets:755988 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:3
- RX bytes:1287093559 (1.1 GiB) TX bytes:89711608 (85.5 MiB)
- pppoe-wan2 Link encap:Point-to-Point Protocol
- inet addr:112.3.85.168 P-t-P:112.3.84.1 Mask:255.255.255.255
- UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
- RX packets:50611 errors:0 dropped:0 overruns:0 frame:0
- TX packets:62240 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:3
- RX bytes:30873615 (29.4 MiB) TX bytes:7625629 (7.2 MiB)
- pppoe-wan3 Link encap:Point-to-Point Protocol
- inet addr:183.213.154.56 P-t-P:183.213.154.1 Mask:255.255.255.255
- UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
- RX packets:26821 errors:0 dropped:0 overruns:0 frame:0
- TX packets:36034 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:3
- RX bytes:6283582 (5.9 MiB) TX bytes:9079222 (8.6 MiB)
- pppoe-wan4 Link encap:Point-to-Point Protocol
- inet addr:223.66.37.108 P-t-P:223.66.36.1 Mask:255.255.255.255
- UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
- RX packets:33154 errors:0 dropped:0 overruns:0 frame:0
- TX packets:50076 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:3
- RX bytes:3156966 (3.0 MiB) TX bytes:37116380 (35.3 MiB)
- pppoe-wan5 Link encap:Point-to-Point Protocol
- inet addr:112.3.85.177 P-t-P:112.3.84.1 Mask:255.255.255.255
- UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
- RX packets:54743 errors:0 dropped:0 overruns:0 frame:0
- TX packets:81821 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:3
- RX bytes:28904901 (27.5 MiB) TX bytes:23637605 (22.5 MiB)
- pppoe-wan6 Link encap:Point-to-Point Protocol
- inet addr:112.1.87.237 P-t-P:112.1.86.1 Mask:255.255.255.255
- UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
- RX packets:15961 errors:0 dropped:0 overruns:0 frame:0
- TX packets:21181 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:3
- RX bytes:2487677 (2.3 MiB) TX bytes:1859325 (1.7 MiB)
- wlan0 Link encap:Ethernet HWaddr 44:94:FC:8A:60:F7
- inet6 addr: fe80::4694:fcff:fe8a:60f7/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:1738 errors:0 dropped:0 overruns:0 frame:0
- TX packets:34833 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:188752 (184.3 KiB) TX bytes:6096464 (5.8 MiB)
- wlan1 Link encap:Ethernet HWaddr 44:94:FC:8A:60:F9
- inet6 addr: fe80::4694:fcff:fe8a:60f9/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:32371 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:3578518 (3.4 MiB)
- Output of "route -n" :
- Kernel IP routing table
- Destination Gateway Genmask Flags Metric Ref Use Iface
- 0.0.0.0 222.188.197.1 0.0.0.0 UG 10 0 0 pppoe-wan1
- 0.0.0.0 112.3.84.1 0.0.0.0 UG 20 0 0 pppoe-wan2
- 0.0.0.0 183.213.154.1 0.0.0.0 UG 30 0 0 pppoe-wan3
- 0.0.0.0 223.66.36.1 0.0.0.0 UG 40 0 0 pppoe-wan4
- 0.0.0.0 112.3.84.1 0.0.0.0 UG 50 0 0 pppoe-wan5
- 0.0.0.0 112.1.86.1 0.0.0.0 UG 60 0 0 pppoe-wan6
- 112.1.86.1 0.0.0.0 255.255.255.255 UH 0 0 0 pppoe-wan6
- 112.3.84.1 0.0.0.0 255.255.255.255 UH 0 0 0 pppoe-wan5
- 112.3.84.1 0.0.0.0 255.255.255.255 UH 0 0 0 pppoe-wan2
- 183.213.154.1 0.0.0.0 255.255.255.255 UH 0 0 0 pppoe-wan3
- 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br-lan
- 222.188.197.1 0.0.0.0 255.255.255.255 UH 0 0 0 pppoe-wan1
- 223.66.36.1 0.0.0.0 255.255.255.255 UH 0 0 0 pppoe-wan4
- Output of "ip rule show" :
- 0: from all lookup local
- 1001: from all iif pppoe-wan1 lookup main
- 1002: from all iif pppoe-wan2 lookup main
- 1003: from all iif pppoe-wan3 lookup main
- 1004: from all iif pppoe-wan4 lookup main
- 1005: from all iif pppoe-wan5 lookup main
- 1006: from all iif pppoe-wan6 lookup main
- 2001: from all fwmark 0x100/0xff00 lookup 1
- 2002: from all fwmark 0x200/0xff00 lookup 2
- 2003: from all fwmark 0x300/0xff00 lookup 3
- 2004: from all fwmark 0x400/0xff00 lookup 4
- 2005: from all fwmark 0x500/0xff00 lookup 5
- 2006: from all fwmark 0x600/0xff00 lookup 6
- 2254: from all fwmark 0xfe00/0xff00 unreachable
- 6693: from all fwmark 0x200 lookup 2
- 6694: from all fwmark 0x100 lookup 1
- 6695: from all fwmark 0x200 lookup 2
- 6696: from all fwmark 0x100 lookup 1
- 6697: from all fwmark 0x200 lookup 2
- 6698: from all fwmark 0x100 lookup 1
- 6699: from all lookup 65
- 32766: from all lookup main
- 32767: from all lookup default
- Output of "ip route list table 1-250" :
- 1
- default via 222.188.197.1 dev pppoe-wan1
- 2
- default via 112.3.84.1 dev pppoe-wan2
- 3
- default via 183.213.154.1 dev pppoe-wan3
- 4
- default via 223.66.36.1 dev pppoe-wan4
- 5
- default via 112.3.84.1 dev pppoe-wan5
- 6
- default via 112.1.86.1 dev pppoe-wan6
- Firewall default output policy (must be ACCEPT) :
- ACCEPT
- Output of "iptables -L -t mangle -v -n" :
- Chain PREROUTING (policy ACCEPT 145K packets, 66M bytes)
- pkts bytes target prot opt in out source destination
- 146K 66M mwan3_hook all -- * * 0.0.0.0/0 0.0.0.0/0
- 145K 66M fwmark all -- * * 0.0.0.0/0 0.0.0.0/0
- Chain INPUT (policy ACCEPT 36728 packets, 3942K bytes)
- pkts bytes target prot opt in out source destination
- Chain FORWARD (policy ACCEPT 108K packets, 61M bytes)
- pkts bytes target prot opt in out source destination
- 108K 61M mssfix all -- * * 0.0.0.0/0 0.0.0.0/0
- Chain OUTPUT (policy ACCEPT 43929 packets, 16M bytes)
- pkts bytes target prot opt in out source destination
- 44141 16M mwan3_hook all -- * * 0.0.0.0/0 0.0.0.0/0
- 44141 16M mwan3_track_hook all -- * * 0.0.0.0/0 0.0.0.0/0
- Chain POSTROUTING (policy ACCEPT 152K packets, 77M bytes)
- pkts bytes target prot opt in out source destination
- Chain fwmark (1 references)
- pkts bytes target prot opt in out source destination
- Chain mssfix (1 references)
- pkts bytes target prot opt in out source destination
- 3308 196K TCPMSS tcp -- * pppoe-wan1 0.0.0.0/0 0.0.0.0/0 tcp flags:0x06/0x02 /* wan (mtu_fix) */ TCPMSS clamp to PMTU
- 748 44708 TCPMSS tcp -- * pppoe-wan2 0.0.0.0/0 0.0.0.0/0 tcp flags:0x06/0x02 /* wan (mtu_fix) */ TCPMSS clamp to PMTU
- 618 36956 TCPMSS tcp -- * pppoe-wan3 0.0.0.0/0 0.0.0.0/0 tcp flags:0x06/0x02 /* wan (mtu_fix) */ TCPMSS clamp to PMTU
- 726 43528 TCPMSS tcp -- * pppoe-wan4 0.0.0.0/0 0.0.0.0/0 tcp flags:0x06/0x02 /* wan (mtu_fix) */ TCPMSS clamp to PMTU
- 639 38036 TCPMSS tcp -- * pppoe-wan5 0.0.0.0/0 0.0.0.0/0 tcp flags:0x06/0x02 /* wan (mtu_fix) */ TCPMSS clamp to PMTU
- 665 39736 TCPMSS tcp -- * pppoe-wan6 0.0.0.0/0 0.0.0.0/0 tcp flags:0x06/0x02 /* wan (mtu_fix) */ TCPMSS clamp to PMTU
- 0 0 TCPMSS tcp -- * 6in4-wan7 0.0.0.0/0 0.0.0.0/0 tcp flags:0x06/0x02 /* wan (mtu_fix) */ TCPMSS clamp to PMTU
- Chain mwan3_connected (1 references)
- pkts bytes target prot opt in out source destination
- 86 5850 MARK all -- * * 0.0.0.0/0 127.0.0.0/8 mark match 0x0/0xff00 MARK or 0xff00
- 392 25426 MARK all -- * * 0.0.0.0/0 224.0.0.0/3 mark match 0x0/0xff00 MARK or 0xff00
- 0 0 MARK all -- * * 0.0.0.0/0 112.1.86.1 mark match 0x0/0xff00 MARK or 0xff00
- 0 0 MARK all -- * * 0.0.0.0/0 112.3.84.1 mark match 0x0/0xff00 MARK or 0xff00
- 0 0 MARK all -- * * 0.0.0.0/0 112.3.84.1 mark match 0x0/0xff00 MARK or 0xff00
- 0 0 MARK all -- * * 0.0.0.0/0 183.213.154.1 mark match 0x0/0xff00 MARK or 0xff00
- 3600 239K MARK all -- * * 0.0.0.0/0 192.168.1.0/24 mark match 0x0/0xff00 MARK or 0xff00
- 0 0 MARK all -- * * 0.0.0.0/0 222.188.197.1 mark match 0x0/0xff00 MARK or 0xff00
- 0 0 MARK all -- * * 0.0.0.0/0 223.66.36.1 mark match 0x0/0xff00 MARK or 0xff00
- Chain mwan3_hook (2 references)
- pkts bytes target prot opt in out source destination
- 190K 82M CONNMARK all -- * * 0.0.0.0/0 0.0.0.0/0 CONNMARK restore mask 0xff00
- 14990 989K mwan3_ifaces all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0xff00
- 11304 722K mwan3_connected all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0xff00
- 7193 450K mwan3_rules all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0xff00
- 190K 82M CONNMARK all -- * * 0.0.0.0/0 0.0.0.0/0 CONNMARK save mask 0xff00
- Chain mwan3_iface_wan1 (1 references)
- pkts bytes target prot opt in out source destination
- 0 0 MARK all -- * * 222.188.197.1 0.0.0.0/0 mark match 0x0/0xff00 /* wan1 */ MARK or 0xff00
- 1149 83599 MARK all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0xff00 /* wan1 */ MARK xset 0x100/0xff00
- Chain mwan3_iface_wan2 (1 references)
- pkts bytes target prot opt in out source destination
- 0 0 MARK all -- * * 112.3.84.1 0.0.0.0/0 mark match 0x0/0xff00 /* wan2 */ MARK or 0xff00
- 868 52206 MARK all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0xff00 /* wan2 */ MARK xset 0x200/0xff00
- Chain mwan3_iface_wan3 (1 references)
- pkts bytes target prot opt in out source destination
- 0 0 MARK all -- * * 183.213.154.1 0.0.0.0/0 mark match 0x0/0xff00 /* wan3 */ MARK or 0xff00
- 297 30866 MARK all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0xff00 /* wan3 */ MARK xset 0x300/0xff00
- Chain mwan3_iface_wan4 (1 references)
- pkts bytes target prot opt in out source destination
- 0 0 MARK all -- * * 223.66.36.1 0.0.0.0/0 mark match 0x0/0xff00 /* wan4 */ MARK or 0xff00
- 473 52804 MARK all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0xff00 /* wan4 */ MARK xset 0x400/0xff00
- Chain mwan3_iface_wan5 (1 references)
- pkts bytes target prot opt in out source destination
- 0 0 MARK all -- * * 112.3.84.1 0.0.0.0/0 mark match 0x0/0xff00 /* wan5 */ MARK or 0xff00
- 784 40008 MARK all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0xff00 /* wan5 */ MARK xset 0x500/0xff00
- Chain mwan3_iface_wan6 (1 references)
- pkts bytes target prot opt in out source destination
- 0 0 MARK all -- * * 112.1.86.1 0.0.0.0/0 mark match 0x0/0xff00 /* wan6 */ MARK or 0xff00
- 115 7512 MARK all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0xff00 /* wan6 */ MARK xset 0x600/0xff00
- Chain mwan3_ifaces (1 references)
- pkts bytes target prot opt in out source destination
- 1149 83599 mwan3_iface_wan1 all -- pppoe-wan1 * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0xff00
- 868 52206 mwan3_iface_wan2 all -- pppoe-wan2 * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0xff00
- 297 30866 mwan3_iface_wan3 all -- pppoe-wan3 * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0xff00
- 473 52804 mwan3_iface_wan4 all -- pppoe-wan4 * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0xff00
- 784 40008 mwan3_iface_wan5 all -- pppoe-wan5 * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0xff00
- 115 7512 mwan3_iface_wan6 all -- pppoe-wan6 * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0xff00
- Chain mwan3_policy_loadbalanced (1 references)
- pkts bytes target prot opt in out source destination
- 810 51727 MARK all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0xff00 statistic mode random probability 0.15299999993 /* wan6 2 13 */ MARK xset 0x600/0xff00
- 779 49348 MARK all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0xff00 statistic mode random probability 0.18099999987 /* wan5 2 11 */ MARK xset 0x500/0xff00
- 817 51448 MARK all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0xff00 statistic mode random probability 0.22200000007 /* wan4 2 9 */ MARK xset 0x400/0xff00
- 796 51217 MARK all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0xff00 statistic mode random probability 0.28500000015 /* wan3 2 7 */ MARK xset 0x300/0xff00
- 836 54111 MARK all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0xff00 statistic mode random probability 0.39999999991 /* wan2 2 5 */ MARK xset 0x200/0xff00
- 1220 77310 MARK all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0xff00 /* wan1 3 3 */ MARK xset 0x100/0xff00
- Chain mwan3_policy_wan1_only (1 references)
- pkts bytes target prot opt in out source destination
- 1771 103K MARK all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0xff00 /* wan1 3 3 */ MARK xset 0x100/0xff00
- Chain mwan3_policy_wan2_only (6 references)
- pkts bytes target prot opt in out source destination
- 80 5014 MARK all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0xff00 /* wan2 2 2 */ MARK xset 0x200/0xff00
- Chain mwan3_rules (1 references)
- pkts bytes target prot opt in out source destination
- 18 1080 MARK all -- * * 0.0.0.0/0 115.29.247.125 mark match 0x0/0xff00 /* right */ MARK or 0xff00
- 12 720 mwan3_policy_wan2_only tcp -- * * 0.0.0.0/0 198.41.177.80 multiport sports 0:65535 multiport dports 80,443 mark match 0x0/0xff00 /* CHDbits */
- 9 540 mwan3_policy_wan2_only tcp -- * * 0.0.0.0/0 198.41.183.79 multiport sports 0:65535 multiport dports 80,443 mark match 0x0/0xff00 /* CHDbits */
- 2 120 mwan3_policy_wan2_only tcp -- * * 0.0.0.0/0 198.41.176.80 multiport sports 0:65535 multiport dports 80,443 mark match 0x0/0xff00 /* CHDbits */
- 39 2490 mwan3_policy_wan2_only tcp -- * * 0.0.0.0/0 198.41.181.79 multiport sports 0:65535 multiport dports 80,443 mark match 0x0/0xff00 /* CHDbits */
- 16 960 mwan3_policy_wan2_only tcp -- * * 0.0.0.0/0 198.41.182.79 multiport sports 0:65535 multiport dports 80,443 mark match 0x0/0xff00 /* CHDbits */
- 2 184 mwan3_policy_wan2_only all -- * * 0.0.0.0/0 216.218.221.6 mark match 0x0/0xff00 /* IPv6 */
- 1771 103K mwan3_policy_wan1_only tcp -- * * 0.0.0.0/0 0.0.0.0/0 multiport sports 0:65535 multiport dports 22,80,443,8000 mark match 0x0/0xff00 /* web */
- 5258 335K mwan3_policy_loadbalanced all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0xff00 /* loadbalance */
- Chain mwan3_track_hook (1 references)
- pkts bytes target prot opt in out source destination
- 24 768 mwan3_track_wan1 icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 8 length 32
- 22 704 mwan3_track_wan2 icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 8 length 32
- 20 640 mwan3_track_wan3 icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 8 length 32
- 18 576 mwan3_track_wan4 icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 8 length 32
- 16 512 mwan3_track_wan5 icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 8 length 32
- 14 448 mwan3_track_wan6 icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 8 length 32
- Chain mwan3_track_wan1 (1 references)
- pkts bytes target prot opt in out source destination
- 12 384 MARK all -- * * 0.0.0.0/0 114.114.115.115 MARK or 0xff00
- 12 384 MARK all -- * * 0.0.0.0/0 114.114.114.114 MARK or 0xff00
- Chain mwan3_track_wan2 (1 references)
- pkts bytes target prot opt in out source destination
- 11 352 MARK all -- * * 0.0.0.0/0 114.114.115.115 MARK or 0xff00
- 11 352 MARK all -- * * 0.0.0.0/0 114.114.114.114 MARK or 0xff00
- Chain mwan3_track_wan3 (1 references)
- pkts bytes target prot opt in out source destination
- 10 320 MARK all -- * * 0.0.0.0/0 114.114.115.115 MARK or 0xff00
- 10 320 MARK all -- * * 0.0.0.0/0 114.114.114.114 MARK or 0xff00
- Chain mwan3_track_wan4 (1 references)
- pkts bytes target prot opt in out source destination
- 9 288 MARK all -- * * 0.0.0.0/0 114.114.115.115 MARK or 0xff00
- 9 288 MARK all -- * * 0.0.0.0/0 114.114.114.114 MARK or 0xff00
- Chain mwan3_track_wan5 (1 references)
- pkts bytes target prot opt in out source destination
- 8 256 MARK all -- * * 0.0.0.0/0 114.114.115.115 MARK or 0xff00
- 8 256 MARK all -- * * 0.0.0.0/0 114.114.114.114 MARK or 0xff00
- Chain mwan3_track_wan6 (1 references)
- pkts bytes target prot opt in out source destination
- 7 224 MARK all -- * * 0.0.0.0/0 114.114.115.115 MARK or 0xff00
- 7 224 MARK all -- * * 0.0.0.0/0 114.114.114.114 MARK or 0xff00
复制代码
|
|