Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Software-Version
- -------------------------------------------------
- OpenWrt - OpenWrt 18.06.1 r7258-5eb055306f
- LuCI - git-18.196.56128-9112198
- Output of "ip a show"
- -------------------------------------------------
- 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
- link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
- inet 127.0.0.1/8 scope host lo
- valid_lft forever preferred_lft forever
- inet6 ::1/128 scope host
- valid_lft forever preferred_lft forever
- 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
- link/ether e4:95:6e:42:a3:d6 brd ff:ff:ff:ff:ff:ff
- inet6 fe80::e695:6eff:fe42:a3d6/64 scope link
- valid_lft forever preferred_lft forever
- 3: teql0: <NOARP> mtu 1500 qdisc noop state DOWN group default qlen 100
- link/void
- 32: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
- link/ether e6:e7:98:f2:cd:e6 brd ff:ff:ff:ff:ff:ff
- inet 192.168.42.74/24 brd 192.168.42.255 scope global usb0
- valid_lft forever preferred_lft forever
- inet6 fe80::e4e7:98ff:fef2:cde6/64 scope link
- valid_lft forever preferred_lft forever
- 41: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
- link/ether e4:95:6e:42:a3:d6 brd ff:ff:ff:ff:ff:ff
- inet 192.168.8.1/24 brd 192.168.8.255 scope global br-lan
- valid_lft forever preferred_lft forever
- 42: eth0.1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP group default qlen 1000
- link/ether e4:95:6e:42:a3:d6 brd ff:ff:ff:ff:ff:ff
- 43: eth0.2@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
- link/ether 78:7b:8a:bd:b9:39 brd ff:ff:ff:ff:ff:ff
- inet 192.168.98.97/26 brd 192.168.98.127 scope global eth0.2
- valid_lft forever preferred_lft forever
- 44: br-guest: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
- link/ether e6:95:6e:42:a3:d6 brd ff:ff:ff:ff:ff:ff
- inet 192.168.9.1/24 brd 192.168.9.255 scope global br-guest
- valid_lft forever preferred_lft forever
- 45: wlan1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP group default qlen 1000
- link/ether e4:95:6e:42:a3:d6 brd ff:ff:ff:ff:ff:ff
- 46: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP group default qlen 1000
- link/ether e4:95:6e:42:a3:d7 brd ff:ff:ff:ff:ff:ff
- 47: wlan2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-guest state UP group default qlen 1000
- link/ether e6:95:6e:42:a3:d7 brd ff:ff:ff:ff:ff:ff
- 48: wlan3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-guest state UP group default qlen 1000
- link/ether e6:95:6e:42:a3:d6 brd ff:ff:ff:ff:ff:ff
- Output of "ip route show"
- -------------------------------------------------
- default via 192.168.42.129 dev usb0 proto static src 192.168.42.74 metric 10
- default via 192.168.98.126 dev eth0.2 proto static src 192.168.98.97 metric 30
- 192.168.8.0/24 dev br-lan proto kernel scope link src 192.168.8.1
- 192.168.9.0/24 dev br-guest proto kernel scope link src 192.168.9.1
- 192.168.42.0/24 dev usb0 proto static scope link metric 10
- 192.168.98.64/26 dev eth0.2 proto static scope link metric 30
- Output of "ip rule show"
- -------------------------------------------------
- 0: from all lookup local
- 1001: from all iif eth0.2 lookup main
- 1002: from all iif usb0 lookup main
- 2001: from all fwmark 0x100/0x3f00 lookup 1
- 2002: from all fwmark 0x200/0x3f00 lookup 2
- 2061: from all fwmark 0x3d00/0x3f00 blackhole
- 2062: from all fwmark 0x3e00/0x3f00 unreachable
- 32766: from all lookup main
- 32767: from all lookup default
- Output of "ip route list table 1-250"
- -------------------------------------------------
- Table 1: default via 192.168.98.126 dev eth0.2
- Table 2: default via 192.168.42.129 dev usb0
- Output of "iptables -L -t mangle -v -n"
- -------------------------------------------------
- Chain PREROUTING (policy ACCEPT 23993 packets, 10M bytes)
- pkts bytes target prot opt in out source destination
- 23993 10M mwan3_hook all -- * * 0.0.0.0/0 0.0.0.0/0
- Chain INPUT (policy ACCEPT 2797 packets, 338K bytes)
- pkts bytes target prot opt in out source destination
- Chain FORWARD (policy ACCEPT 19128 packets, 9441K bytes)
- pkts bytes target prot opt in out source destination
- 0 0 TCPMSS tcp -- * eth0.2 0.0.0.0/0 0.0.0.0/0 tcp flags:0x06/0x02 /* !fw3: Zone wan MTU fixing */ TCPMSS clamp to PMTU
- 352 21184 TCPMSS tcp -- * usb0 0.0.0.0/0 0.0.0.0/0 tcp flags:0x06/0x02 /* !fw3: Zone wan MTU fixing */ TCPMSS clamp to PMTU
- Chain OUTPUT (policy ACCEPT 2454 packets, 691K bytes)
- pkts bytes target prot opt in out source destination
- 2454 691K mwan3_hook all -- * * 0.0.0.0/0 0.0.0.0/0
- Chain POSTROUTING (policy ACCEPT 21561 packets, 10M bytes)
- pkts bytes target prot opt in out source destination
- Chain mwan3_connected (2 references)
- pkts bytes target prot opt in out source destination
- 12432 7240K MARK all -- * * 0.0.0.0/0 0.0.0.0/0 match-set mwan3_connected dst MARK or 0x3f00
- Chain mwan3_hook (2 references)
- pkts bytes target prot opt in out source destination
- 26447 11M CONNMARK all -- * * 0.0.0.0/0 0.0.0.0/0 CONNMARK restore mask 0x3f00
- 4635 869K mwan3_ifaces_in all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00
- 2281 376K mwan3_connected all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00
- 1518 318K mwan3_ifaces_out all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00
- 561 239K mwan3_rules all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00
- 26447 11M CONNMARK all -- * * 0.0.0.0/0 0.0.0.0/0 CONNMARK save mask 0x3f00
- 21411 9680K mwan3_connected all -- * * 0.0.0.0/0 0.0.0.0/0 mark match ! 0x3f00/0x3f00
- Chain mwan3_iface_in_tethering (1 references)
- pkts bytes target prot opt in out source destination
- 0 0 MARK all -- usb0 * 0.0.0.0/0 0.0.0.0/0 match-set mwan3_connected src mark match 0x0/0x3f00 /* default */ MARK or 0x3f00
- 3 194 MARK all -- usb0 * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00 /* tethering */ MARK xset 0x200/0x3f00
- Chain mwan3_iface_in_wan (1 references)
- pkts bytes target prot opt in out source destination
- 1947 412K MARK all -- eth0.2 * 0.0.0.0/0 0.0.0.0/0 match-set mwan3_connected src mark match 0x0/0x3f00 /* default */ MARK or 0x3f00
- 404 81612 MARK all -- eth0.2 * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00 /* wan */ MARK xset 0x100/0x3f00
- Chain mwan3_iface_out_tethering (1 references)
- pkts bytes target prot opt in out source destination
- 499 41184 MARK all -- * usb0 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00 /* tethering */ MARK xset 0x200/0x3f00
- Chain mwan3_iface_out_wan (1 references)
- pkts bytes target prot opt in out source destination
- 458 38472 MARK all -- * eth0.2 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00 /* wan */ MARK xset 0x100/0x3f00
- Chain mwan3_ifaces_in (1 references)
- pkts bytes target prot opt in out source destination
- 4635 869K mwan3_iface_in_tethering all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00
- 4632 869K mwan3_iface_in_wan all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00
- Chain mwan3_ifaces_out (1 references)
- pkts bytes target prot opt in out source destination
- 1518 318K mwan3_iface_out_tethering all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00
- 1019 277K mwan3_iface_out_wan all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00
- Chain mwan3_policy_default_poli (0 references)
- pkts bytes target prot opt in out source destination
- 0 0 MARK all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00 /* tethering 3 3 */ MARK xset 0x200/0x3f00
- Chain mwan3_policy_tethering_poli (1 references)
- pkts bytes target prot opt in out source destination
- 561 239K MARK all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00 /* tethering 3 3 */ MARK xset 0x200/0x3f00
- Chain mwan3_policy_wan_poli (1 references)
- pkts bytes target prot opt in out source destination
- 0 0 MARK all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00 /* wan 3 3 */ MARK xset 0x100/0x3f00
- Chain mwan3_rules (1 references)
- pkts bytes target prot opt in out source destination
- 0 0 mwan3_policy_wan_poli all -- * * 0.0.0.0/0 192.168.0.0/24 mark match 0x0/0x3f00 /* ps */
- 561 239K mwan3_policy_tethering_poli all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00 /* default_rule */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement