Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@OpenWrt:~# ifconfig
- br-lan Link encap:Ethernet HWaddr 62:38:E0:C5:45:B0
- inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
- inet6 addr: fe80::6038:e0ff:fec5:45b0/64 Scope:Link
- inet6 addr: fdac:c12c:403b::1/60 Scope:Global
- inet6 addr: 2a02:908:13cb:2b20::1/60 Scope:Global
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:1089 errors:0 dropped:0 overruns:0 frame:0
- TX packets:738 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:155570 (151.9 KiB) TX bytes:332999 (325.1 KiB)
- ds-wan6_4 Link encap:UNSPEC HWaddr 2A-02-09-08-13-00-00-0C-00-00-00-00-00-00-00-00
- inet addr:192.0.0.2 P-t-P:192.0.0.1 Mask:255.255.255.255
- inet6 addr: fe80::90b4:23ff:fe1c:5cf7/64 Scope:Link
- UP POINTOPOINT RUNNING NOARP MTU:1280 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:82 errors:1 dropped:0 overruns:0 carrier:1
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:4844 (4.7 KiB)
- eth0 Link encap:Ethernet HWaddr 62:38:E0:C5:45:B0
- inet6 addr: fe80::6038:e0ff:fec5:45b0/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:1117 errors:0 dropped:0 overruns:0 frame:0
- TX packets:770 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:532
- RX bytes:179046 (174.8 KiB) TX bytes:339972 (332.0 KiB)
- Interrupt:37
- eth0.1 Link encap:Ethernet HWaddr 62:38:E0:C5:45:B0
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:1089 errors:0 dropped:0 overruns:0 frame:0
- TX packets:738 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:155570 (151.9 KiB) TX bytes:332999 (325.1 KiB)
- eth1 Link encap:Ethernet HWaddr 60:38:E0:C5:45:B0
- inet6 addr: fe80::6238:e0ff:fec5:45b0/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:4048 errors:0 dropped:0 overruns:0 frame:0
- TX packets:185 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:532
- RX bytes:312175 (304.8 KiB) TX bytes:29166 (28.4 KiB)
- Interrupt:36
- eth1.2 Link encap:Ethernet HWaddr 60:38:E0:C5:45:B0
- inet6 addr: 2a02:908:1300:c:8c05:629e:9964:19f4/128 Scope:Global
- inet6 addr: fe80::6238:e0ff:fec5:45b0/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:4043 errors:0 dropped:0 overruns:0 frame:0
- TX packets:180 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:239011 (233.4 KiB) TX bytes:27848 (27.1 KiB)
- 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:144 errors:0 dropped:0 overruns:0 frame:0
- TX packets:144 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:13570 (13.2 KiB) TX bytes:13570 (13.2 KiB)
- root@OpenWrt:~# ifstatus wan6_4
- {
- "up": true,
- "pending": false,
- "available": true,
- "autostart": true,
- "dynamic": true,
- "uptime": 96,
- "l3_device": "ds-wan6_4",
- "proto": "dslite",
- "updated": [
- "addresses",
- "routes",
- "data"
- ],
- "metric": 0,
- "dns_metric": 0,
- "delegation": true,
- "ipv4-address": [
- {
- "address": "192.0.0.2",
- "mask": 32,
- "ptpaddress": "192.0.0.1"
- }
- ],
- "ipv6-address": [
- ],
- "ipv6-prefix": [
- ],
- "ipv6-prefix-assignment": [
- ],
- "route": [
- {
- "target": "0.0.0.0",
- "mask": 0,
- "nexthop": "0.0.0.0",
- "source": "0.0.0.0\/0"
- }
- ],
- "dns-server": [
- ],
- "dns-search": [
- ],
- "inactive": {
- "ipv4-address": [
- ],
- "ipv6-address": [
- ],
- "route": [
- ],
- "dns-server": [
- ],
- "dns-search": [
- ]
- },
- "data": {
- "firewall": [
- {
- "type": "nat",
- "target": "ACCEPT"
- }
- ],
- "zone": "wan"
- }
- }
- root@OpenWrt:~# iptables -t filter -L -vn
- Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
- pkts bytes target prot opt in out source destination
- 136 12970 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- 681 82271 input_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom input rule chain */
- 536 44710 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED /* !fw3 */
- 7 364 syn_flood tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x17/0x02 /* !fw3 */
- 130 32536 zone_lan_input all -- br-lan * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- 15 5025 zone_wan_input all -- eth1.2 * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- 0 0 zone_wan_input all -- ds-wan6_4 * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- Chain FORWARD (policy DROP 0 packets, 0 bytes)
- pkts bytes target prot opt in out source destination
- 73 3940 forwarding_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom forwarding rule chain */
- 0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED /* !fw3 */
- 69 3756 zone_lan_forward all -- br-lan * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- 4 184 zone_wan_forward all -- eth1.2 * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- 0 0 zone_wan_forward all -- ds-wan6_4 * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- 0 0 reject all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
- pkts bytes target prot opt in out source destination
- 136 12970 ACCEPT all -- * lo 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- 675 290K output_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom output rule chain */
- 651 287K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED /* !fw3 */
- 4 1052 zone_lan_output all -- * br-lan 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- 0 0 zone_wan_output all -- * eth1.2 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- 20 1520 zone_wan_output all -- * ds-wan6_4 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- Chain forwarding_lan_rule (1 references)
- pkts bytes target prot opt in out source destination
- Chain forwarding_rule (1 references)
- pkts bytes target prot opt in out source destination
- Chain forwarding_wan_rule (1 references)
- pkts bytes target prot opt in out source destination
- Chain input_lan_rule (1 references)
- pkts bytes target prot opt in out source destination
- Chain input_rule (1 references)
- pkts bytes target prot opt in out source destination
- Chain input_wan_rule (1 references)
- pkts bytes target prot opt in out source destination
- Chain output_lan_rule (1 references)
- pkts bytes target prot opt in out source destination
- Chain output_rule (1 references)
- pkts bytes target prot opt in out source destination
- Chain output_wan_rule (1 references)
- pkts bytes target prot opt in out source destination
- Chain reject (5 references)
- pkts bytes target prot opt in out source destination
- 4 184 REJECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */ reject-with tcp-reset
- 10 3080 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */ reject-with icmp-port-unreachable
- Chain syn_flood (1 references)
- pkts bytes target prot opt in out source destination
- 7 364 RETURN tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x17/0x02 limit: avg 25/sec burst 50 /* !fw3 */
- 0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- Chain zone_lan_dest_ACCEPT (4 references)
- pkts bytes target prot opt in out source destination
- 4 1052 ACCEPT all -- * br-lan 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- Chain zone_lan_forward (1 references)
- pkts bytes target prot opt in out source destination
- 69 3756 forwarding_lan_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom lan forwarding rule chain */
- 69 3756 zone_wan_dest_ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Zone lan to wan forwarding policy */
- 0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate DNAT /* !fw3: Accept port forwards */
- 0 0 zone_lan_dest_ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- Chain zone_lan_input (1 references)
- pkts bytes target prot opt in out source destination
- 130 32536 input_lan_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom lan input rule chain */
- 0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate DNAT /* !fw3: Accept port redirections */
- 130 32536 zone_lan_src_ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- Chain zone_lan_output (1 references)
- pkts bytes target prot opt in out source destination
- 4 1052 output_lan_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom lan output rule chain */
- 4 1052 zone_lan_dest_ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- Chain zone_lan_src_ACCEPT (1 references)
- pkts bytes target prot opt in out source destination
- 130 32536 ACCEPT all -- br-lan * 0.0.0.0/0 0.0.0.0/0 ctstate NEW,UNTRACKED /* !fw3 */
- Chain zone_wan_dest_ACCEPT (2 references)
- pkts bytes target prot opt in out source destination
- 0 0 DROP all -- * eth1.2 0.0.0.0/0 0.0.0.0/0 ctstate INVALID /* !fw3: Prevent NAT leakage */
- 0 0 ACCEPT all -- * eth1.2 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- 0 0 DROP all -- * ds-wan6_4 0.0.0.0/0 0.0.0.0/0 ctstate INVALID /* !fw3: Prevent NAT leakage */
- 89 5276 ACCEPT all -- * ds-wan6_4 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- Chain zone_wan_dest_REJECT (1 references)
- pkts bytes target prot opt in out source destination
- 0 0 reject all -- * eth1.2 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- 4 184 reject all -- * ds-wan6_4 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- Chain zone_wan_forward (2 references)
- pkts bytes target prot opt in out source destination
- 4 184 forwarding_wan_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom wan forwarding rule chain */
- 0 0 zone_lan_dest_ACCEPT esp -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Allow-IPSec-ESP */
- 0 0 zone_lan_dest_ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:500 /* !fw3: Allow-ISAKMP */
- 0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate DNAT /* !fw3: Accept port forwards */
- 4 184 zone_wan_dest_REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- Chain zone_wan_input (2 references)
- pkts bytes target prot opt in out source destination
- 15 5025 input_wan_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom wan input rule chain */
- 5 1945 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:68 /* !fw3: Allow-DHCP-Renew */
- 0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 8 /* !fw3: Allow-Ping */
- 0 0 ACCEPT 2 -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Allow-IGMP */
- 0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate DNAT /* !fw3: Accept port redirections */
- 10 3080 zone_wan_src_REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- Chain zone_wan_output (2 references)
- pkts bytes target prot opt in out source destination
- 20 1520 output_wan_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom wan output rule chain */
- 20 1520 zone_wan_dest_ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- Chain zone_wan_src_REJECT (1 references)
- pkts bytes target prot opt in out source destination
- 10 3080 reject all -- eth1.2 * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- 0 0 reject all -- ds-wan6_4 * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- root@OpenWrt:~# iptables -t nat -L -vn
- Chain PREROUTING (policy ACCEPT 180 packets, 37042 bytes)
- pkts bytes target prot opt in out source destination
- 180 37042 prerouting_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom prerouting rule chain */
- 174 36441 zone_lan_prerouting all -- br-lan * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- 6 601 zone_wan_prerouting all -- eth1.2 * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- 0 0 zone_wan_prerouting all -- ds-wan6_4 * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- Chain INPUT (policy ACCEPT 12 packets, 1043 bytes)
- pkts bytes target prot opt in out source destination
- Chain OUTPUT (policy ACCEPT 50 packets, 4086 bytes)
- pkts bytes target prot opt in out source destination
- Chain POSTROUTING (policy ACCEPT 30 packets, 2566 bytes)
- pkts bytes target prot opt in out source destination
- 73 5230 postrouting_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom postrouting rule chain */
- 43 2664 ACCEPT all -- * ds-wan6_4 0.0.0.0/0 0.0.0.0/0 /* !fw3: ubus:wan6_4[dslite] nat 0 */
- 3 714 zone_lan_postrouting all -- * br-lan 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- 0 0 zone_wan_postrouting all -- * eth1.2 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- 0 0 zone_wan_postrouting all -- * ds-wan6_4 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- Chain postrouting_lan_rule (1 references)
- pkts bytes target prot opt in out source destination
- Chain postrouting_rule (1 references)
- pkts bytes target prot opt in out source destination
- Chain postrouting_wan_rule (1 references)
- pkts bytes target prot opt in out source destination
- Chain prerouting_lan_rule (1 references)
- pkts bytes target prot opt in out source destination
- Chain prerouting_rule (1 references)
- pkts bytes target prot opt in out source destination
- Chain prerouting_wan_rule (1 references)
- pkts bytes target prot opt in out source destination
- Chain zone_lan_postrouting (1 references)
- pkts bytes target prot opt in out source destination
- 3 714 postrouting_lan_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom lan postrouting rule chain */
- Chain zone_lan_prerouting (1 references)
- pkts bytes target prot opt in out source destination
- 174 36441 prerouting_lan_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom lan prerouting rule chain */
- Chain zone_wan_postrouting (2 references)
- pkts bytes target prot opt in out source destination
- 0 0 postrouting_wan_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom wan postrouting rule chain */
- 0 0 MASQUERADE all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
- Chain zone_wan_prerouting (2 references)
- pkts bytes target prot opt in out source destination
- 6 601 prerouting_wan_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom wan prerouting rule chain */
- root@OpenWrt:~# ip6tables -t filter -L -vn
- Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
- pkts bytes target prot opt in out source destination
- 0 0 ACCEPT all lo * ::/0 ::/0 /* !fw3 */
- 251 30957 input_rule all * * ::/0 ::/0 /* !fw3: Custom input rule chain */
- 146 23593 ACCEPT all * * ::/0 ::/0 ctstate RELATED,ESTABLISHED /* !fw3 */
- 0 0 syn_flood tcp * * ::/0 ::/0 tcp flags:0x17/0x02 /* !fw3 */
- 47 3732 zone_lan_input all br-lan * ::/0 ::/0 /* !fw3 */
- 58 3632 zone_wan_input all eth1.2 * ::/0 ::/0 /* !fw3 */
- 0 0 zone_wan_input all ds-wan6_4 * ::/0 ::/0 /* !fw3 */
- Chain FORWARD (policy DROP 0 packets, 0 bytes)
- pkts bytes target prot opt in out source destination
- 80 47959 forwarding_rule all * * ::/0 ::/0 /* !fw3: Custom forwarding rule chain */
- 77 47736 ACCEPT all * * ::/0 ::/0 ctstate RELATED,ESTABLISHED /* !fw3 */
- 1 72 zone_lan_forward all br-lan * ::/0 ::/0 /* !fw3 */
- 2 151 zone_wan_forward all eth1.2 * ::/0 ::/0 /* !fw3 */
- 0 0 zone_wan_forward all ds-wan6_4 * ::/0 ::/0 /* !fw3 */
- 2 151 reject all * * ::/0 ::/0 /* !fw3 */
- Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
- pkts bytes target prot opt in out source destination
- 0 0 ACCEPT all * lo ::/0 ::/0 /* !fw3 */
- 197 20925 output_rule all * * ::/0 ::/0 /* !fw3: Custom output rule chain */
- 32 4709 ACCEPT all * * ::/0 ::/0 ctstate RELATED,ESTABLISHED /* !fw3 */
- 18 1432 zone_lan_output all * br-lan ::/0 ::/0 /* !fw3 */
- 147 14784 zone_wan_output all * eth1.2 ::/0 ::/0 /* !fw3 */
- 0 0 zone_wan_output all * ds-wan6_4 ::/0 ::/0 /* !fw3 */
- Chain forwarding_lan_rule (1 references)
- pkts bytes target prot opt in out source destination
- Chain forwarding_rule (1 references)
- pkts bytes target prot opt in out source destination
- Chain forwarding_wan_rule (1 references)
- pkts bytes target prot opt in out source destination
- Chain input_lan_rule (1 references)
- pkts bytes target prot opt in out source destination
- Chain input_rule (1 references)
- pkts bytes target prot opt in out source destination
- Chain input_wan_rule (1 references)
- pkts bytes target prot opt in out source destination
- Chain output_lan_rule (1 references)
- pkts bytes target prot opt in out source destination
- Chain output_rule (1 references)
- pkts bytes target prot opt in out source destination
- Chain output_wan_rule (1 references)
- pkts bytes target prot opt in out source destination
- Chain reject (5 references)
- pkts bytes target prot opt in out source destination
- 2 151 REJECT tcp * * ::/0 ::/0 /* !fw3 */ reject-with tcp-reset
- 0 0 REJECT all * * ::/0 ::/0 /* !fw3 */ reject-with icmp6-port-unreachable
- Chain syn_flood (1 references)
- pkts bytes target prot opt in out source destination
- 0 0 RETURN tcp * * ::/0 ::/0 tcp flags:0x17/0x02 limit: avg 25/sec burst 50 /* !fw3 */
- 0 0 DROP all * * ::/0 ::/0 /* !fw3 */
- Chain zone_lan_dest_ACCEPT (4 references)
- pkts bytes target prot opt in out source destination
- 18 1432 ACCEPT all * br-lan ::/0 ::/0 /* !fw3 */
- Chain zone_lan_forward (1 references)
- pkts bytes target prot opt in out source destination
- 1 72 forwarding_lan_rule all * * ::/0 ::/0 /* !fw3: Custom lan forwarding rule chain */
- 1 72 zone_wan_dest_ACCEPT all * * ::/0 ::/0 /* !fw3: Zone lan to wan forwarding policy */
- 0 0 zone_lan_dest_ACCEPT all * * ::/0 ::/0 /* !fw3 */
- Chain zone_lan_input (1 references)
- pkts bytes target prot opt in out source destination
- 47 3732 input_lan_rule all * * ::/0 ::/0 /* !fw3: Custom lan input rule chain */
- 47 3732 zone_lan_src_ACCEPT all * * ::/0 ::/0 /* !fw3 */
- Chain zone_lan_output (1 references)
- pkts bytes target prot opt in out source destination
- 18 1432 output_lan_rule all * * ::/0 ::/0 /* !fw3: Custom lan output rule chain */
- 18 1432 zone_lan_dest_ACCEPT all * * ::/0 ::/0 /* !fw3 */
- Chain zone_lan_src_ACCEPT (1 references)
- pkts bytes target prot opt in out source destination
- 47 3732 ACCEPT all br-lan * ::/0 ::/0 ctstate NEW,UNTRACKED /* !fw3 */
- Chain zone_wan_dest_ACCEPT (2 references)
- pkts bytes target prot opt in out source destination
- 1 60 DROP all * eth1.2 ::/0 ::/0 ctstate INVALID /* !fw3: Prevent NAT leakage */
- 147 14796 ACCEPT all * eth1.2 ::/0 ::/0 /* !fw3 */
- 0 0 DROP all * ds-wan6_4 ::/0 ::/0 ctstate INVALID /* !fw3: Prevent NAT leakage */
- 0 0 ACCEPT all * ds-wan6_4 ::/0 ::/0 /* !fw3 */
- Chain zone_wan_dest_REJECT (1 references)
- pkts bytes target prot opt in out source destination
- 0 0 reject all * eth1.2 ::/0 ::/0 /* !fw3 */
- 0 0 reject all * ds-wan6_4 ::/0 ::/0 /* !fw3 */
- Chain zone_wan_forward (2 references)
- pkts bytes target prot opt in out source destination
- 2 151 forwarding_wan_rule all * * ::/0 ::/0 /* !fw3: Custom wan forwarding rule chain */
- 0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 128 limit: avg 1000/sec burst 5 /* !fw3: Allow-ICMPv6-Forward */
- 0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 129 limit: avg 1000/sec burst 5 /* !fw3: Allow-ICMPv6-Forward */
- 0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 1 limit: avg 1000/sec burst 5 /* !fw3: Allow-ICMPv6-Forward */
- 0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 2 limit: avg 1000/sec burst 5 /* !fw3: Allow-ICMPv6-Forward */
- 0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 3 limit: avg 1000/sec burst 5 /* !fw3: Allow-ICMPv6-Forward */
- 0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 4 code 0 limit: avg 1000/sec burst 5 /* !fw3: Allow-ICMPv6-Forward */
- 0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 4 code 1 limit: avg 1000/sec burst 5 /* !fw3: Allow-ICMPv6-Forward */
- 0 0 zone_lan_dest_ACCEPT esp * * ::/0 ::/0 /* !fw3: Allow-IPSec-ESP */
- 0 0 zone_lan_dest_ACCEPT udp * * ::/0 ::/0 udp dpt:500 /* !fw3: Allow-ISAKMP */
- 2 151 zone_wan_dest_REJECT all * * ::/0 ::/0 /* !fw3 */
- Chain zone_wan_input (2 references)
- pkts bytes target prot opt in out source destination
- 58 3632 input_wan_rule all * * ::/0 ::/0 /* !fw3: Custom wan input rule chain */
- 0 0 ACCEPT udp * * fc00::/6 fc00::/6 udp dpt:546 /* !fw3: Allow-DHCPv6 */
- 0 0 ACCEPT icmpv6 * * fe80::/10 ::/0 ipv6-icmptype 130 code 0 /* !fw3: Allow-MLD */
- 0 0 ACCEPT icmpv6 * * fe80::/10 ::/0 ipv6-icmptype 131 code 0 /* !fw3: Allow-MLD */
- 0 0 ACCEPT icmpv6 * * fe80::/10 ::/0 ipv6-icmptype 132 code 0 /* !fw3: Allow-MLD */
- 0 0 ACCEPT icmpv6 * * fe80::/10 ::/0 ipv6-icmptype 143 code 0 /* !fw3: Allow-MLD */
- 0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 128 limit: avg 1000/sec burst 5 /* !fw3: Allow-ICMPv6-Input */
- 0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 129 limit: avg 1000/sec burst 5 /* !fw3: Allow-ICMPv6-Input */
- 0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 1 limit: avg 1000/sec burst 5 /* !fw3: Allow-ICMPv6-Input */
- 0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 2 limit: avg 1000/sec burst 5 /* !fw3: Allow-ICMPv6-Input */
- 0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 3 limit: avg 1000/sec burst 5 /* !fw3: Allow-ICMPv6-Input */
- 0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 4 code 0 limit: avg 1000/sec burst 5 /* !fw3: Allow-ICMPv6-Input */
- 0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 4 code 1 limit: avg 1000/sec burst 5 /* !fw3: Allow-ICMPv6-Input */
- 0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 133 limit: avg 1000/sec burst 5 /* !fw3: Allow-ICMPv6-Input */
- 24 1728 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 135 limit: avg 1000/sec burst 5 /* !fw3: Allow-ICMPv6-Input */
- 34 1904 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 134 limit: avg 1000/sec burst 5 /* !fw3: Allow-ICMPv6-Input */
- 0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 136 limit: avg 1000/sec burst 5 /* !fw3: Allow-ICMPv6-Input */
- 0 0 zone_wan_src_REJECT all * * ::/0 ::/0 /* !fw3 */
- Chain zone_wan_output (2 references)
- pkts bytes target prot opt in out source destination
- 147 14784 output_wan_rule all * * ::/0 ::/0 /* !fw3: Custom wan output rule chain */
- 147 14784 zone_wan_dest_ACCEPT all * * ::/0 ::/0 /* !fw3 */
- Chain zone_wan_src_REJECT (1 references)
- pkts bytes target prot opt in out source destination
- 0 0 reject all eth1.2 * ::/0 ::/0 /* !fw3 */
- 0 0 reject all ds-wan6_4 * ::/0 ::/0 /* !fw3 */
- root@OpenWrt:~# ip route show
- default dev ds-wan6_4 scope link
- 192.0.0.1 dev ds-wan6_4 scope link src 192.0.0.2
- 192.168.1.0/24 dev br-lan scope link src 192.168.1.1
- root@OpenWrt:~# ip addr show
- 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
- 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: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 532
- link/ether 60:38:e0:c5:45:b0 brd ff:ff:ff:ff:ff:ff
- inet6 fe80::6238:e0ff:fec5:45b0/64 scope link
- valid_lft forever preferred_lft forever
- 3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 532
- link/ether 62:38:e0:c5:45:b0 brd ff:ff:ff:ff:ff:ff
- inet6 fe80::6038:e0ff:fec5:45b0/64 scope link
- valid_lft forever preferred_lft forever
- 5: ip6tnl0@NONE: <NOARP> mtu 1452 qdisc noop state DOWN qlen 1000
- link/tunnel6 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 brd 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
- 6: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
- link/ether 60:38:e0:c5:45:b2 brd ff:ff:ff:ff:ff:ff
- 7: wlan1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
- link/ether 60:38:e0:c5:45:b1 brd ff:ff:ff:ff:ff:ff
- 8: mlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
- link/ether 60:38:e0:c5:45:b3 brd ff:ff:ff:ff:ff:ff
- 9: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
- link/ether 62:38:e0:c5:45:b0 brd ff:ff:ff:ff:ff:ff
- inet 192.168.1.1/24 brd 192.168.1.255 scope global br-lan
- valid_lft forever preferred_lft forever
- inet6 2a02:908:13cb:2b20::1/60 scope global dynamic
- valid_lft 1209338sec preferred_lft 604538sec
- inet6 fdac:c12c:403b::1/60 scope global
- valid_lft forever preferred_lft forever
- inet6 fe80::6038:e0ff:fec5:45b0/64 scope link
- valid_lft forever preferred_lft forever
- 10: eth0.1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
- link/ether 62:38:e0:c5:45:b0 brd ff:ff:ff:ff:ff:ff
- 11: eth1.2@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
- link/ether 60:38:e0:c5:45:b0 brd ff:ff:ff:ff:ff:ff
- inet6 2a02:908:1300:c:8c05:629e:9964:19f4/128 scope global dynamic
- valid_lft 1209338sec preferred_lft 604538sec
- inet6 fe80::6238:e0ff:fec5:45b0/64 scope link
- valid_lft forever preferred_lft forever
- 12: ds-wan6_4@eth1.2: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1280 qdisc noqueue state UNKNOWN qlen 1000
- link/tunnel6 2a:02:09:08:13:00:00:0c:8c:05:62:9e:99:64:19:f4 peer 2a:02:09:08:00:00:00:00:00:00:00:00:00:13:40:00
- inet 192.0.0.2 peer 192.0.0.1/32 brd 255.255.255.255 scope global ds-wan6_4
- valid_lft forever preferred_lft forever
- inet6 fe80::90b4:23ff:fe1c:5cf7/64 scope link
- valid_lft forever preferred_lft forever
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement