Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "kernel": "5.4.188",
- "hostname": "OpenWrt",
- "system": "ARMv7 Processor rev 0 (v7l)",
- "model": "Netgear Nighthawk X4S R7800",
- "board_name": "netgear,r7800",
- "release": {
- "distribution": "OpenWrt",
- "version": "21.02.3",
- "revision": "r16554-1d4dea6d4f",
- "target": "ipq806x/generic",
- "description": "OpenWrt 21.02.3 r16554-1d4dea6d4f"
- }
- }
- network.loopback=interface
- network.loopback.device='lo'
- network.loopback.proto='static'
- network.loopback.ipaddr='127.0.0.1'
- network.loopback.netmask='255.0.0.0'
- network.globals=globals
- network.globals.ula_prefix='fd91:58c0:ec5c::/48'
- network.globals.packet_steering='1'
- network.@device[0]=device
- network.@device[0].name='br-lan'
- network.@device[0].type='bridge'
- network.@device[0].ports='eth1.1'
- network.lan=interface
- network.lan.device='br-lan'
- network.lan.proto='static'
- network.lan.netmask='255.255.255.0'
- network.lan.ip6assign='60'
- network.lan.ipaddr='10.0.0.1'
- network.wan=interface
- network.wan.device='eth0.2'
- network.wan.proto='dhcp'
- network.wan.peerdns='0'
- network.wan.dns='1.1.1.1' '1.0.0.1'
- network.wan6=interface
- network.wan6.device='eth0.2'
- network.wan6.proto='dhcpv6'
- network.@switch[0]=switch
- network.@switch[0].name='switch0'
- network.@switch[0].reset='1'
- network.@switch[0].enable_vlan='1'
- network.@switch_vlan[0]=switch_vlan
- network.@switch_vlan[0].device='switch0'
- network.@switch_vlan[0].vlan='1'
- network.@switch_vlan[0].ports='1 2 3 4 6t'
- network.@switch_vlan[1]=switch_vlan
- network.@switch_vlan[1].device='switch0'
- network.@switch_vlan[1].vlan='2'
- network.@switch_vlan[1].ports='5 0t'
- firewall.@defaults[0]=defaults
- firewall.@defaults[0].input='ACCEPT'
- firewall.@defaults[0].output='ACCEPT'
- firewall.@defaults[0].forward='REJECT'
- firewall.@defaults[0].synflood_protect='1'
- firewall.lan=zone
- firewall.lan.name='lan'
- firewall.lan.input='ACCEPT'
- firewall.lan.output='ACCEPT'
- firewall.lan.forward='ACCEPT'
- firewall.lan.network='lan'
- firewall.wan=zone
- firewall.wan.name='wan'
- firewall.wan.input='REJECT'
- firewall.wan.output='ACCEPT'
- firewall.wan.forward='REJECT'
- firewall.wan.masq='1'
- firewall.wan.mtu_fix='1'
- firewall.wan.network='wan' 'wan6'
- firewall.@forwarding[0]=forwarding
- firewall.@forwarding[0].src='lan'
- firewall.@forwarding[0].dest='wan'
- firewall.@rule[0]=rule
- firewall.@rule[0].name='Allow-DHCP-Renew'
- firewall.@rule[0].src='wan'
- firewall.@rule[0].proto='udp'
- firewall.@rule[0].dest_port='68'
- firewall.@rule[0].target='ACCEPT'
- firewall.@rule[0].family='ipv4'
- firewall.@rule[1]=rule
- firewall.@rule[1].name='Allow-Ping'
- firewall.@rule[1].src='wan'
- firewall.@rule[1].proto='icmp'
- firewall.@rule[1].icmp_type='echo-request'
- firewall.@rule[1].family='ipv4'
- firewall.@rule[1].target='ACCEPT'
- firewall.@rule[2]=rule
- firewall.@rule[2].name='Allow-IGMP'
- firewall.@rule[2].src='wan'
- firewall.@rule[2].proto='igmp'
- firewall.@rule[2].family='ipv4'
- firewall.@rule[2].target='ACCEPT'
- firewall.@rule[3]=rule
- firewall.@rule[3].name='Allow-DHCPv6'
- firewall.@rule[3].src='wan'
- firewall.@rule[3].proto='udp'
- firewall.@rule[3].dest_port='546'
- firewall.@rule[3].family='ipv6'
- firewall.@rule[3].target='ACCEPT'
- firewall.@rule[4]=rule
- firewall.@rule[4].name='Allow-MLD'
- firewall.@rule[4].src='wan'
- firewall.@rule[4].proto='icmp'
- firewall.@rule[4].src_ip='fe80::/10'
- firewall.@rule[4].icmp_type='130/0' '131/0' '132/0' '143/0'
- firewall.@rule[4].family='ipv6'
- firewall.@rule[4].target='ACCEPT'
- firewall.@rule[5]=rule
- firewall.@rule[5].name='Allow-ICMPv6-Input'
- firewall.@rule[5].src='wan'
- firewall.@rule[5].proto='icmp'
- firewall.@rule[5].icmp_type='echo-request' 'echo-reply' 'destination-unreachable' 'packet-too-big' 'time-exceeded' 'bad-header' 'unknown-header-type' 'router-solicitation' 'neighbour-solicitation' 'router-advertisement' 'neighbour-advertisement'
- firewall.@rule[5].limit='1000/sec'
- firewall.@rule[5].family='ipv6'
- firewall.@rule[5].target='ACCEPT'
- firewall.@rule[6]=rule
- firewall.@rule[6].name='Allow-ICMPv6-Forward'
- firewall.@rule[6].src='wan'
- firewall.@rule[6].dest='*'
- firewall.@rule[6].proto='icmp'
- firewall.@rule[6].icmp_type='echo-request' 'echo-reply' 'destination-unreachable' 'packet-too-big' 'time-exceeded' 'bad-header' 'unknown-header-type'
- firewall.@rule[6].limit='1000/sec'
- firewall.@rule[6].family='ipv6'
- firewall.@rule[6].target='ACCEPT'
- firewall.@rule[7]=rule
- firewall.@rule[7].name='Allow-IPSec-ESP'
- firewall.@rule[7].src='wan'
- firewall.@rule[7].dest='lan'
- firewall.@rule[7].proto='esp'
- firewall.@rule[7].target='ACCEPT'
- firewall.@rule[8]=rule
- firewall.@rule[8].name='Allow-ISAKMP'
- firewall.@rule[8].src='wan'
- firewall.@rule[8].dest='lan'
- firewall.@rule[8].dest_port='500'
- firewall.@rule[8].proto='udp'
- firewall.@rule[8].target='ACCEPT'
- firewall.@rule[9]=rule
- firewall.@rule[9].name='Support-UDP-Traceroute'
- firewall.@rule[9].src='wan'
- firewall.@rule[9].dest_port='33434:33689'
- firewall.@rule[9].proto='udp'
- firewall.@rule[9].family='ipv4'
- firewall.@rule[9].target='REJECT'
- firewall.@rule[9].enabled='0'
- firewall.@include[0]=include
- firewall.@include[0].path='/etc/firewall.user'
- firewall.miniupnpd=include
- firewall.miniupnpd.type='script'
- firewall.miniupnpd.path='/usr/share/miniupnpd/firewall.include'
- firewall.miniupnpd.family='any'
- firewall.miniupnpd.reload='1'
- firewall.@redirect[0]=redirect
- firewall.@redirect[0].target='DNAT'
- firewall.@redirect[0].src='wan'
- firewall.@redirect[0].dest_ip='10.0.0.100'
- firewall.@redirect[0].dest='lan'
- firewall.@redirect[0].name='Ftp-Rule1'
- firewall.@redirect[0].src_dport='20-21'
- firewall.@redirect[0].dest_port='20-21'
- firewall.@redirect[0].proto='tcp'
- firewall.@redirect[1]=redirect
- firewall.@redirect[1].target='DNAT'
- firewall.@redirect[1].src='wan'
- firewall.@redirect[1].dest='lan'
- firewall.@redirect[1].dest_ip='10.0.0.100'
- firewall.@redirect[1].name='Ftp-Rule2'
- firewall.@redirect[1].proto='tcp'
- firewall.@redirect[1].src_dport='30000-30009'
- firewall.@redirect[1].dest_port='30000-30009'
- firewall.@redirect[2]=redirect
- firewall.@redirect[2].target='DNAT'
- firewall.@redirect[2].proto='tcp udp'
- firewall.@redirect[2].src_dport='32400'
- firewall.@redirect[2].dest_port='32400'
- firewall.@redirect[2].name='Plex'
- firewall.@redirect[2].dest='lan'
- firewall.@redirect[2].src='wan'
- firewall.@redirect[2].dest_ip='10.0.0.100'
- firewall.@redirect[3]=redirect
- firewall.@redirect[3].target='DNAT'
- firewall.@redirect[3].src='wan'
- firewall.@redirect[3].dest='lan'
- firewall.@redirect[3].proto='tcp'
- firewall.@redirect[3].src_dport='4662'
- firewall.@redirect[3].dest_ip='10.0.0.100'
- firewall.@redirect[3].dest_port='4662'
- firewall.@redirect[3].name='aMule'
- firewall.@redirect[4]=redirect
- firewall.@redirect[4].target='DNAT'
- firewall.@redirect[4].src='wan'
- firewall.@redirect[4].dest='lan'
- firewall.@redirect[4].proto='udp'
- firewall.@redirect[4].src_dport='4665'
- firewall.@redirect[4].dest_ip='10.0.0.100'
- firewall.@redirect[4].dest_port='4665'
- firewall.@redirect[4].name='aMule2'
- firewall.@redirect[5]=redirect
- firewall.@redirect[5].target='DNAT'
- firewall.@redirect[5].src='wan'
- firewall.@redirect[5].dest='lan'
- firewall.@redirect[5].proto='udp'
- firewall.@redirect[5].src_dport='4672'
- firewall.@redirect[5].dest_ip='10.0.0.100'
- firewall.@redirect[5].dest_port='4672'
- firewall.@redirect[5].name='aMule3'
- 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: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
- link/ether b0:7f:b9:3e:44:80 brd ff:ff:ff:ff:ff:ff
- inet6 fe80::b27f:b9ff:fe3e:4480/64 scope link
- valid_lft forever preferred_lft forever
- 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
- link/ether b0:7f:b9:3e:44:7f brd ff:ff:ff:ff:ff:ff
- inet6 fe80::b27f:b9ff:fe3e:447f/64 scope link
- valid_lft forever preferred_lft forever
- 41: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
- link/ether b0:7f:b9:3e:44:7f brd ff:ff:ff:ff:ff:ff
- inet 10.0.0.1/24 brd 10.0.0.255 scope global br-lan
- valid_lft forever preferred_lft forever
- inet6 fd91:58c0:ec5c::1/60 scope global noprefixroute
- valid_lft forever preferred_lft forever
- inet6 fe80::b27f:b9ff:fe3e:447f/64 scope link
- valid_lft forever preferred_lft forever
- 42: eth1.1@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
- link/ether b0:7f:b9:3e:44:7f brd ff:ff:ff:ff:ff:ff
- 43: eth0.2@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
- link/ether b0:7f:b9:3e:44:80 brd ff:ff:ff:ff:ff:ff
- inet 192.168.1.150/24 brd 192.168.1.255 scope global eth0.2
- valid_lft forever preferred_lft forever
- inet6 fe80::b27f:b9ff:fe3e:4480/64 scope link
- valid_lft forever preferred_lft forever
- 45: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
- link/ether b0:7f:b9:3e:44:81 brd ff:ff:ff:ff:ff:ff
- inet6 fe80::b27f:b9ff:fe3e:4481/64 scope link
- valid_lft forever preferred_lft forever
- 46: wlan1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
- link/ether b0:7f:b9:3e:44:82 brd ff:ff:ff:ff:ff:ff
- inet6 fe80::b27f:b9ff:fe3e:4482/64 scope link
- valid_lft forever preferred_lft forever
- default via 192.168.1.1 dev eth0.2 src 192.168.1.150
- 10.0.0.0/24 dev br-lan scope link src 10.0.0.1
- 192.168.1.0/24 dev eth0.2 scope link src 192.168.1.150
- broadcast 10.0.0.0 dev br-lan table local scope link src 10.0.0.1
- local 10.0.0.1 dev br-lan table local scope host src 10.0.0.1
- broadcast 10.0.0.255 dev br-lan table local scope link src 10.0.0.1
- broadcast 127.0.0.0 dev lo table local scope link src 127.0.0.1
- local 127.0.0.0/8 dev lo table local scope host src 127.0.0.1
- local 127.0.0.1 dev lo table local scope host src 127.0.0.1
- broadcast 127.255.255.255 dev lo table local scope link src 127.0.0.1
- broadcast 192.168.1.0 dev eth0.2 table local scope link src 192.168.1.150
- local 192.168.1.150 dev eth0.2 table local scope host src 192.168.1.150
- broadcast 192.168.1.255 dev eth0.2 table local scope link src 192.168.1.150
- fd91:58c0:ec5c::/64 dev br-lan metric 1024
- unreachable fd91:58c0:ec5c::/48 dev lo metric 2147483647
- fe80::/64 dev eth1 metric 256
- fe80::/64 dev eth0 metric 256
- fe80::/64 dev eth0.2 metric 256
- fe80::/64 dev br-lan metric 256
- fe80::/64 dev wlan0 metric 256
- fe80::/64 dev wlan1 metric 256
- local ::1 dev lo table local metric 0
- anycast fd91:58c0:ec5c:: dev br-lan table local metric 0
- local fd91:58c0:ec5c::1 dev br-lan table local metric 0
- anycast fe80:: dev eth0.2 table local metric 0
- anycast fe80:: dev eth0 table local metric 0
- anycast fe80:: dev eth1 table local metric 0
- anycast fe80:: dev br-lan table local metric 0
- anycast fe80:: dev wlan0 table local metric 0
- anycast fe80:: dev wlan1 table local metric 0
- local fe80::b27f:b9ff:fe3e:447f dev eth1 table local metric 0
- local fe80::b27f:b9ff:fe3e:447f dev br-lan table local metric 0
- local fe80::b27f:b9ff:fe3e:4480 dev eth0.2 table local metric 0
- local fe80::b27f:b9ff:fe3e:4480 dev eth0 table local metric 0
- local fe80::b27f:b9ff:fe3e:4481 dev wlan0 table local metric 0
- local fe80::b27f:b9ff:fe3e:4482 dev wlan1 table local metric 0
- multicast ff00::/8 dev eth1 table local metric 256
- multicast ff00::/8 dev br-lan table local metric 256
- multicast ff00::/8 dev eth0 table local metric 256
- multicast ff00::/8 dev eth0.2 table local metric 256
- multicast ff00::/8 dev wlan0 table local metric 256
- multicast ff00::/8 dev wlan1 table local metric 256
- 0: from all lookup local
- 32766: from all lookup main
- 32767: from all lookup default
- # Generated by iptables-save v1.8.7 on Tue Aug 9 22:55:25 2022
- *nat
- :PREROUTING ACCEPT [365:33864]
- :INPUT ACCEPT [69:3779]
- :OUTPUT ACCEPT [19:1339]
- :POSTROUTING ACCEPT [87:6704]
- :MINIUPNPD - [0:0]
- :MINIUPNPD-POSTROUTING - [0:0]
- :postrouting_lan_rule - [0:0]
- :postrouting_rule - [0:0]
- :postrouting_wan_rule - [0:0]
- :prerouting_lan_rule - [0:0]
- :prerouting_rule - [0:0]
- :prerouting_wan_rule - [0:0]
- :zone_lan_postrouting - [0:0]
- :zone_lan_prerouting - [0:0]
- :zone_wan_postrouting - [0:0]
- :zone_wan_prerouting - [0:0]
- [490:42986] -A PREROUTING -m comment --comment "!fw3: Custom prerouting rule chain" -j prerouting_rule
- [291:24832] -A PREROUTING -i br-lan -m comment --comment "!fw3" -j zone_lan_prerouting
- [199:18154] -A PREROUTING -i eth0.2 -m comment --comment "!fw3" -j zone_wan_prerouting
- [338:23633] -A POSTROUTING -m comment --comment "!fw3: Custom postrouting rule chain" -j postrouting_rule
- [81:6294] -A POSTROUTING -o br-lan -m comment --comment "!fw3" -j zone_lan_postrouting
- [250:16850] -A POSTROUTING -o eth0.2 -m comment --comment "!fw3" -j zone_wan_postrouting
- [81:6294] -A zone_lan_postrouting -m comment --comment "!fw3: Custom lan postrouting rule chain" -j postrouting_lan_rule
- [0:0] -A zone_lan_postrouting -s 10.0.0.0/24 -d 10.0.0.100/32 -p tcp -m tcp --dport 20:21 -m comment --comment "!fw3: Ftp-Rule1 (reflection)" -j SNAT --to-source 10.0.0.1
- [0:0] -A zone_lan_postrouting -s 10.0.0.0/24 -d 10.0.0.100/32 -p tcp -m tcp --dport 30000:30009 -m comment --comment "!fw3: Ftp-Rule2 (reflection)" -j SNAT --to-source 10.0.0.1
- [0:0] -A zone_lan_postrouting -s 10.0.0.0/24 -d 10.0.0.100/32 -p tcp -m tcp --dport 32400 -m comment --comment "!fw3: Plex (reflection)" -j SNAT --to-source 10.0.0.1
- [0:0] -A zone_lan_postrouting -s 10.0.0.0/24 -d 10.0.0.100/32 -p udp -m udp --dport 32400 -m comment --comment "!fw3: Plex (reflection)" -j SNAT --to-source 10.0.0.1
- [0:0] -A zone_lan_postrouting -s 10.0.0.0/24 -d 10.0.0.100/32 -p tcp -m tcp --dport 4662 -m comment --comment "!fw3: aMule (reflection)" -j SNAT --to-source 10.0.0.1
- [0:0] -A zone_lan_postrouting -s 10.0.0.0/24 -d 10.0.0.100/32 -p udp -m udp --dport 4665 -m comment --comment "!fw3: aMule2 (reflection)" -j SNAT --to-source 10.0.0.1
- [0:0] -A zone_lan_postrouting -s 10.0.0.0/24 -d 10.0.0.100/32 -p udp -m udp --dport 4672 -m comment --comment "!fw3: aMule3 (reflection)" -j SNAT --to-source 10.0.0.1
- [291:24832] -A zone_lan_prerouting -m comment --comment "!fw3: Custom lan prerouting rule chain" -j prerouting_lan_rule
- [0:0] -A zone_lan_prerouting -p tcp -m tcp --dport 53 -m comment --comment "!fw3: ubus:simple-adblock[main] redirect 0" -j REDIRECT --to-ports 53
- [43:2703] -A zone_lan_prerouting -p udp -m udp --dport 53 -m comment --comment "!fw3: ubus:simple-adblock[main] redirect 0" -j REDIRECT --to-ports 53
- [0:0] -A zone_lan_prerouting -s 10.0.0.0/24 -d 192.168.1.150/32 -p tcp -m tcp --dport 20:21 -m comment --comment "!fw3: Ftp-Rule1 (reflection)" -j DNAT --to-destination 10.0.0.100:20-21
- [0:0] -A zone_lan_prerouting -s 10.0.0.0/24 -d 192.168.1.150/32 -p tcp -m tcp --dport 30000:30009 -m comment --comment "!fw3: Ftp-Rule2 (reflection)" -j DNAT --to-destination 10.0.0.100:30000-30009
- [0:0] -A zone_lan_prerouting -s 10.0.0.0/24 -d 192.168.1.150/32 -p tcp -m tcp --dport 32400 -m comment --comment "!fw3: Plex (reflection)" -j DNAT --to-destination 10.0.0.100:32400
- [0:0] -A zone_lan_prerouting -s 10.0.0.0/24 -d 192.168.1.150/32 -p udp -m udp --dport 32400 -m comment --comment "!fw3: Plex (reflection)" -j DNAT --to-destination 10.0.0.100:32400
- [0:0] -A zone_lan_prerouting -s 10.0.0.0/24 -d 192.168.1.150/32 -p tcp -m tcp --dport 4662 -m comment --comment "!fw3: aMule (reflection)" -j DNAT --to-destination 10.0.0.100:4662
- [0:0] -A zone_lan_prerouting -s 10.0.0.0/24 -d 192.168.1.150/32 -p udp -m udp --dport 4665 -m comment --comment "!fw3: aMule2 (reflection)" -j DNAT --to-destination 10.0.0.100:4665
- [0:0] -A zone_lan_prerouting -s 10.0.0.0/24 -d 192.168.1.150/32 -p udp -m udp --dport 4672 -m comment --comment "!fw3: aMule3 (reflection)" -j DNAT --to-destination 10.0.0.100:4672
- [250:16850] -A zone_wan_postrouting -m comment --comment "!fw3: Custom wan postrouting rule chain" -j postrouting_wan_rule
- [250:16850] -A zone_wan_postrouting -j MINIUPNPD-POSTROUTING
- [250:16850] -A zone_wan_postrouting -m comment --comment "!fw3" -j MASQUERADE
- [199:18154] -A zone_wan_prerouting -m comment --comment "!fw3: Custom wan prerouting rule chain" -j prerouting_wan_rule
- [0:0] -A zone_wan_prerouting -p tcp -m tcp --dport 20:21 -m comment --comment "!fw3: Ftp-Rule1" -j DNAT --to-destination 10.0.0.100:20-21
- [0:0] -A zone_wan_prerouting -p tcp -m tcp --dport 30000:30009 -m comment --comment "!fw3: Ftp-Rule2" -j DNAT --to-destination 10.0.0.100:30000-30009
- [0:0] -A zone_wan_prerouting -p tcp -m tcp --dport 32400 -m comment --comment "!fw3: Plex" -j DNAT --to-destination 10.0.0.100:32400
- [0:0] -A zone_wan_prerouting -p udp -m udp --dport 32400 -m comment --comment "!fw3: Plex" -j DNAT --to-destination 10.0.0.100:32400
- [0:0] -A zone_wan_prerouting -p tcp -m tcp --dport 4662 -m comment --comment "!fw3: aMule" -j DNAT --to-destination 10.0.0.100:4662
- [0:0] -A zone_wan_prerouting -p udp -m udp --dport 4665 -m comment --comment "!fw3: aMule2" -j DNAT --to-destination 10.0.0.100:4665
- [81:6294] -A zone_wan_prerouting -p udp -m udp --dport 4672 -m comment --comment "!fw3: aMule3" -j DNAT --to-destination 10.0.0.100:4672
- [117:11735] -A zone_wan_prerouting -j MINIUPNPD
- COMMIT
- # Completed on Tue Aug 9 22:55:25 2022
- # Generated by iptables-save v1.8.7 on Tue Aug 9 22:55:25 2022
- *mangle
- :PREROUTING ACCEPT [689614:781164769]
- :INPUT ACCEPT [1269:187304]
- :FORWARD ACCEPT [688317:780970101]
- :OUTPUT ACCEPT [1384:2025252]
- :POSTROUTING ACCEPT [689699:782995273]
- [44:2640] -A FORWARD -o eth0.2 -p tcp -m tcp --tcp-flags SYN,RST SYN -m comment --comment "!fw3: Zone wan MTU fixing" -j TCPMSS --clamp-mss-to-pmtu
- [43:2460] -A FORWARD -i eth0.2 -p tcp -m tcp --tcp-flags SYN,RST SYN -m comment --comment "!fw3: Zone wan MTU fixing" -j TCPMSS --clamp-mss-to-pmtu
- COMMIT
- # Completed on Tue Aug 9 22:55:25 2022
- # Generated by iptables-save v1.8.7 on Tue Aug 9 22:55:25 2022
- *filter
- :INPUT ACCEPT [0:0]
- :FORWARD DROP [0:0]
- :OUTPUT ACCEPT [0:0]
- :MINIUPNPD - [0:0]
- :forwarding_lan_rule - [0:0]
- :forwarding_rule - [0:0]
- :forwarding_wan_rule - [0:0]
- :input_lan_rule - [0:0]
- :input_rule - [0:0]
- :input_wan_rule - [0:0]
- :output_lan_rule - [0:0]
- :output_rule - [0:0]
- :output_wan_rule - [0:0]
- :reject - [0:0]
- :syn_flood - [0:0]
- :zone_lan_dest_ACCEPT - [0:0]
- :zone_lan_forward - [0:0]
- :zone_lan_input - [0:0]
- :zone_lan_output - [0:0]
- :zone_lan_src_ACCEPT - [0:0]
- :zone_wan_dest_ACCEPT - [0:0]
- :zone_wan_dest_REJECT - [0:0]
- :zone_wan_forward - [0:0]
- :zone_wan_input - [0:0]
- :zone_wan_output - [0:0]
- :zone_wan_src_REJECT - [0:0]
- [184:14608] -A INPUT -i lo -m comment --comment "!fw3" -j ACCEPT
- [1085:172696] -A INPUT -m comment --comment "!fw3: Custom input rule chain" -j input_rule
- [885:156148] -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT
- [26:1256] -A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -m comment --comment "!fw3" -j syn_flood
- [82:4688] -A INPUT -i br-lan -m comment --comment "!fw3" -j zone_lan_input
- [118:11860] -A INPUT -i eth0.2 -m comment --comment "!fw3" -j zone_wan_input
- [688377:781017241] -A FORWARD -m comment --comment "!fw3: Custom forwarding rule chain" -j forwarding_rule
- [688073:780995465] -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT
- [223:15482] -A FORWARD -i br-lan -m comment --comment "!fw3" -j zone_lan_forward
- [81:6294] -A FORWARD -i eth0.2 -m comment --comment "!fw3" -j zone_wan_forward
- [0:0] -A FORWARD -m comment --comment "!fw3" -j reject
- [184:14608] -A OUTPUT -o lo -m comment --comment "!fw3" -j ACCEPT
- [1201:2012460] -A OUTPUT -m comment --comment "!fw3: Custom output rule chain" -j output_rule
- [1189:2011610] -A OUTPUT -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT
- [0:0] -A OUTPUT -o br-lan -m comment --comment "!fw3" -j zone_lan_output
- [12:850] -A OUTPUT -o eth0.2 -m comment --comment "!fw3" -j zone_wan_output
- [19:892] -A reject -p tcp -m comment --comment "!fw3" -j REJECT --reject-with tcp-reset
- [81:10320] -A reject -m comment --comment "!fw3" -j REJECT --reject-with icmp-port-unreachable
- [26:1256] -A syn_flood -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -m limit --limit 25/sec --limit-burst 50 -m comment --comment "!fw3" -j RETURN
- [0:0] -A syn_flood -m comment --comment "!fw3" -j DROP
- [0:0] -A zone_lan_dest_ACCEPT -o br-lan -m comment --comment "!fw3" -j ACCEPT
- [223:15482] -A zone_lan_forward -m comment --comment "!fw3: Custom lan forwarding rule chain" -j forwarding_lan_rule
- [0:0] -A zone_lan_forward -p tcp -m tcp --dport 853 -m comment --comment "!fw3: ubus:simple-adblock[main] rule 1" -j reject
- [0:0] -A zone_lan_forward -p udp -m udp --dport 853 -m comment --comment "!fw3: ubus:simple-adblock[main] rule 1" -j reject
- [223:15482] -A zone_lan_forward -m comment --comment "!fw3: Zone lan to wan forwarding policy" -j zone_wan_dest_ACCEPT
- [0:0] -A zone_lan_forward -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port forwards" -j ACCEPT
- [0:0] -A zone_lan_forward -m comment --comment "!fw3" -j zone_lan_dest_ACCEPT
- [82:4688] -A zone_lan_input -m comment --comment "!fw3: Custom lan input rule chain" -j input_lan_rule
- [0:0] -A zone_lan_input -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port redirections" -j ACCEPT
- [82:4688] -A zone_lan_input -m comment --comment "!fw3" -j zone_lan_src_ACCEPT
- [0:0] -A zone_lan_output -m comment --comment "!fw3: Custom lan output rule chain" -j output_lan_rule
- [0:0] -A zone_lan_output -m comment --comment "!fw3" -j zone_lan_dest_ACCEPT
- [82:4688] -A zone_lan_src_ACCEPT -i br-lan -m conntrack --ctstate NEW,UNTRACKED -m comment --comment "!fw3" -j ACCEPT
- [2:80] -A zone_wan_dest_ACCEPT -o eth0.2 -m conntrack --ctstate INVALID -m comment --comment "!fw3: Prevent NAT leakage" -j DROP
- [233:16252] -A zone_wan_dest_ACCEPT -o eth0.2 -m comment --comment "!fw3" -j ACCEPT
- [0:0] -A zone_wan_dest_REJECT -o eth0.2 -m comment --comment "!fw3" -j reject
- [81:6294] -A zone_wan_forward -m comment --comment "!fw3: Custom wan forwarding rule chain" -j forwarding_wan_rule
- [0:0] -A zone_wan_forward -p esp -m comment --comment "!fw3: Allow-IPSec-ESP" -j zone_lan_dest_ACCEPT
- [0:0] -A zone_wan_forward -p udp -m udp --dport 500 -m comment --comment "!fw3: Allow-ISAKMP" -j zone_lan_dest_ACCEPT
- [81:6294] -A zone_wan_forward -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port forwards" -j ACCEPT
- [0:0] -A zone_wan_forward -j MINIUPNPD
- [0:0] -A zone_wan_forward -m comment --comment "!fw3" -j zone_wan_dest_REJECT
- [118:11860] -A zone_wan_input -m comment --comment "!fw3: Custom wan input rule chain" -j input_wan_rule
- [0:0] -A zone_wan_input -p udp -m udp --dport 68 -m comment --comment "!fw3: Allow-DHCP-Renew" -j ACCEPT
- [18:648] -A zone_wan_input -p icmp -m icmp --icmp-type 8 -m comment --comment "!fw3: Allow-Ping" -j ACCEPT
- [0:0] -A zone_wan_input -p igmp -m comment --comment "!fw3: Allow-IGMP" -j ACCEPT
- [0:0] -A zone_wan_input -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port redirections" -j ACCEPT
- [99:11087] -A zone_wan_input -j MINIUPNPD
- [100:11212] -A zone_wan_input -m comment --comment "!fw3" -j zone_wan_src_REJECT
- [12:850] -A zone_wan_output -m comment --comment "!fw3: Custom wan output rule chain" -j output_wan_rule
- [12:850] -A zone_wan_output -m comment --comment "!fw3" -j zone_wan_dest_ACCEPT
- [100:11212] -A zone_wan_src_REJECT -i eth0.2 -m comment --comment "!fw3" -j reject
- COMMIT
- # Completed on Tue Aug 9 22:55:25 2022
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement