6 # Uncomment this line to disable ipv6 rules
7 # option disable_ipv6 1
29 # We need to accept udp packets on port 68,
30 # see https://dev.openwrt.org/ticket/4108
42 option icmp_type echo-request
45 # include a file with users custom iptables rules
47 option path /etc/firewall.user
50 ### EXAMPLE CONFIG SECTIONS
51 # do not allow a specific ip to access wan
54 # option src_ip 192.168.45.2
57 # option target REJECT
59 # block a specific mac on wan
62 # option src_mac 00:11:22:33:44:66
63 # option target REJECT
65 # block incoming ICMP traffic on a zone
71 # port redirect port coming in on wan to lan
76 # option dest_ip 192.168.16.235
80 # port redirect of remapped ssh port (22001) on wan
83 # option src_dport 22001
88 # allow IPsec/ESP and ISAKMP passthrough
93 # option target ACCEPT
99 # option dest_port 500
101 # option target ACCEPT
103 ### FULL CONFIG SECTIONS
106 # option src_ip 192.168.45.2
107 # option src_mac 00:11:22:33:44:55
110 # option dest_ip 194.25.2.129
111 # option dest_port 120
113 # option target REJECT
117 # option src_ip 192.168.45.2
118 # option src_mac 00:11:22:33:44:55
119 # option src_port 1024
120 # option src_dport 80
121 # option dest_ip 194.25.2.129
122 # option dest_port 120