6 # Uncomment this line to disable ipv6 rules
7 # option disable_ipv6 1
27 # We need to accept udp packets on port 68,
28 # see https://dev.openwrt.org/ticket/4108
40 option icmp_type echo-request
43 # include a file with users custom iptables rules
45 option path /etc/firewall.user
48 ### EXAMPLE CONFIG SECTIONS
49 # do not allow a specific ip to access wan
52 # option src_ip 192.168.45.2
55 # option target REJECT
57 # block a specific mac on wan
60 # option src_mac 00:11:22:33:44:66
61 # option target REJECT
63 # block incoming ICMP traffic on a zone
69 # port redirect port coming in on wan to lan
74 # option dest_ip 192.168.16.235
79 ### FULL CONFIG SECTIONS
82 # option src_ip 192.168.45.2
83 # option src_mac 00:11:22:33:44:55
86 # option dest_ip 194.25.2.129
87 # option dest_port 120
89 # option target REJECT
93 # option src_ip 192.168.45.2
94 # option src_mac 00:11:22:33:44:55
95 # option src_port 1024
97 # option dest_ip 194.25.2.129
98 # option dest_port 120