- remove trailing whitespaces (s/\ $//g)
- replace spaces with tabs between options and values
SVN-Revision: 31427
config defaults
option syn_flood 1
option input ACCEPT
config defaults
option syn_flood 1
option input ACCEPT
option forward REJECT
# Uncomment this line to disable ipv6 rules
# option disable_ipv6 1
option forward REJECT
# Uncomment this line to disable ipv6 rules
# option disable_ipv6 1
config zone
option name lan
option network 'lan'
config zone
option name lan
option network 'lan'
- option input ACCEPT
- option output ACCEPT
+ option input ACCEPT
+ option output ACCEPT
option forward REJECT
config zone
option name wan
option network 'wan'
option input REJECT
option forward REJECT
config zone
option name wan
option network 'wan'
option input REJECT
-config forwarding
- option src lan
- option dest wan
+config forwarding
+ option src lan
+ option dest wan
# We need to accept udp packets on port 68,
# see https://dev.openwrt.org/ticket/4108
# We need to accept udp packets on port 68,
# see https://dev.openwrt.org/ticket/4108
option target ACCEPT
# Allow essential forwarded IPv6 ICMP traffic
option target ACCEPT
# Allow essential forwarded IPv6 ICMP traffic
option name Allow-ICMPv6-Forward
option src wan
option dest *
option name Allow-ICMPv6-Forward
option src wan
option dest *
# option src_ip 192.168.45.2
# option dest wan
# option proto tcp
# option src_ip 192.168.45.2
# option dest wan
# option proto tcp
# block a specific mac on wan
#config rule
# option dest wan
# option src_mac 00:11:22:33:44:66
# block a specific mac on wan
#config rule
# option dest wan
# option src_mac 00:11:22:33:44:66
# block incoming ICMP traffic on a zone
#config rule
# block incoming ICMP traffic on a zone
#config rule
# option src_dport 80
# option dest lan
# option dest_ip 192.168.16.235
# option src_dport 80
# option dest lan
# option dest_ip 192.168.16.235
# option proto tcp
# port redirect of remapped ssh port (22001) on wan
# option proto tcp
# port redirect of remapped ssh port (22001) on wan
# option dest_ip 194.25.2.129
# option dest_port 120
# option proto tcp
# option dest_ip 194.25.2.129
# option dest_port 120
# option proto tcp
#config redirect
# option src lan
#config redirect
# option src lan