Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _______ ________ __
- | |.-----.-----.-----.| | | |.----.| |_
- | - || _ | -__| || | | || _|| _|
- |_______|| __|_____|__|__||________||__| |____|
- |__| W I R E L E S S F R E E D O M
- -----------------------------------------------------
- OpenWrt 19.07.8, r11364-ef56c85848
- -----------------------------------------------------
- root@GL-X750:~# cat /etc/config/firewall
- config defaults
- option input 'ACCEPT'
- option output 'ACCEPT'
- option forward 'REJECT'
- option synflood_protect '1'
- config zone
- option name 'lan'
- list network 'lan'
- option input 'ACCEPT'
- option output 'ACCEPT'
- option forward 'ACCEPT'
- config zone
- option name 'wan'
- option output 'ACCEPT'
- option forward 'REJECT'
- option masq '1'
- option mtu_fix '1'
- option input 'DROP'
- option network 'wan wan6 modem_1_1_2'
- config forwarding
- option src 'lan'
- option dest 'wan'
- option enabled '1'
- config rule
- option name 'Allow-DHCP-Renew'
- option src 'wan'
- option proto 'udp'
- option dest_port '68'
- option target 'ACCEPT'
- option family 'ipv4'
- config rule
- option name 'Allow-Ping'
- option src 'wan'
- option proto 'icmp'
- option icmp_type 'echo-request'
- option family 'ipv4'
- option target 'ACCEPT'
- config rule
- option name 'Allow-IGMP'
- option src 'wan'
- option proto 'igmp'
- option family 'ipv4'
- option target 'ACCEPT'
- config rule
- option name 'Allow-DHCPv6'
- option src 'wan'
- option proto 'udp'
- option src_ip 'fc00::/6'
- option dest_ip 'fc00::/6'
- option dest_port '546'
- option family 'ipv6'
- option target 'ACCEPT'
- config rule
- option name 'Allow-MLD'
- option src 'wan'
- option proto 'icmp'
- option src_ip 'fe80::/10'
- list icmp_type '130/0'
- list icmp_type '131/0'
- list icmp_type '132/0'
- list icmp_type '143/0'
- option family 'ipv6'
- option target 'ACCEPT'
- config rule
- option name 'Allow-ICMPv6-Input'
- option src 'wan'
- option proto 'icmp'
- list icmp_type 'echo-request'
- list icmp_type 'echo-reply'
- list icmp_type 'destination-unreachable'
- list icmp_type 'packet-too-big'
- list icmp_type 'time-exceeded'
- list icmp_type 'bad-header'
- list icmp_type 'unknown-header-type'
- list icmp_type 'router-solicitation'
- list icmp_type 'neighbour-solicitation'
- list icmp_type 'router-advertisement'
- list icmp_type 'neighbour-advertisement'
- option limit '1000/sec'
- option family 'ipv6'
- option target 'ACCEPT'
- config rule
- option name 'Allow-ICMPv6-Forward'
- option src 'wan'
- option dest '*'
- option proto 'icmp'
- list icmp_type 'echo-request'
- list icmp_type 'echo-reply'
- list icmp_type 'destination-unreachable'
- list icmp_type 'packet-too-big'
- list icmp_type 'time-exceeded'
- list icmp_type 'bad-header'
- list icmp_type 'unknown-header-type'
- option limit '1000/sec'
- option family 'ipv6'
- option target 'ACCEPT'
- config rule
- option name 'Allow-IPSec-ESP'
- option src 'wan'
- option dest 'lan'
- option proto 'esp'
- option target 'ACCEPT'
- config rule
- option name 'Allow-ISAKMP'
- option src 'wan'
- option dest 'lan'
- option dest_port '500'
- option proto 'udp'
- option target 'ACCEPT'
- config include
- option path '/etc/firewall.user'
- option reload '1'
- config include 'gls2s'
- option type 'script'
- option path '/var/etc/gls2s.include'
- option reload '1'
- config include 'glfw'
- option type 'script'
- option path '/usr/bin/glfw.sh'
- option reload '1'
- config include 'glqos'
- option type 'script'
- option path '/usr/sbin/glqos.sh'
- option reload '1'
- config zone 'guestzone'
- option name 'guestzone'
- option network 'guest'
- option forward 'REJECT'
- option output 'ACCEPT'
- option input 'REJECT'
- config forwarding 'guestzone_fwd'
- option src 'guestzone'
- option dest 'wan'
- option enabled '1'
- config rule 'guestzone_dhcp'
- option name 'guestzone_DHCP'
- option src 'guestzone'
- option target 'ACCEPT'
- option proto 'udp'
- option dest_port '67-68'
- config rule 'guestzone_dns'
- option name 'guestzone_DNS'
- option src 'guestzone'
- option target 'ACCEPT'
- option proto 'tcp udp'
- option dest_port '53'
- config rule 'sambasharewan'
- option src 'wan'
- option dest_port '137 138 139 445'
- option dest_proto 'tcpudp'
- option target 'DROP'
- config rule 'sambasharelan'
- option src 'lan'
- option dest_port '137 138 139 445'
- option dest_proto 'tcpudp'
- option target 'ACCEPT'
- config rule 'AllowWireguard'
- option name 'Allow-Wireguard'
- option target 'ACCEPT'
- option src 'wan'
- option proto 'udp tcp'
- option family 'ipv4'
- option dest_port '51820'
- config zone 'wireguard'
- option name 'wireguard'
- option input 'ACCEPT'
- option output 'ACCEPT'
- option masq '1'
- option mtu_fix '1'
- option masq6 '1'
- list device 'wg0'
- option forward 'ACCEPT'
- config forwarding 'wireguard_wan'
- option src 'wireguard'
- option dest 'wan'
- config forwarding 'wireguard_lan'
- option src 'wireguard'
- option dest 'lan'
- config forwarding 'lan_wireguard'
- option src 'lan'
- option dest 'wireguard'
- config forwarding 'guest_wireguard'
- option src 'guestzone'
- option dest 'wireguard'
- config forwarding 'wireguard_guest'
- option src 'wireguard'
- option dest 'guestzone'
- config forwarding
- option dest 'wireguard'
- option src 'wan'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement