aboutsummaryrefslogtreecommitdiffstats
path: root/package/firewall/files
diff options
context:
space:
mode:
authorMirko Vogt <mirko@openwrt.org>2012-04-21 19:42:28 +0000
committerMirko Vogt <mirko@openwrt.org>2012-04-21 19:42:28 +0000
commiteb2128eaa67bcc646b0b84a170fbc532c9fe8b18 (patch)
treead4da3ebc15fd42695b6e6a274193dbe3faaa155 /package/firewall/files
parent4771c59d13df559ce13dc525f8eace687ab9e824 (diff)
downloadupstream-eb2128eaa67bcc646b0b84a170fbc532c9fe8b18.tar.gz
upstream-eb2128eaa67bcc646b0b84a170fbc532c9fe8b18.tar.bz2
upstream-eb2128eaa67bcc646b0b84a170fbc532c9fe8b18.zip
[package/firewall] minor change: adjust formatting of firewall.config
- remove trailing whitespaces (s/\ $//g) - replace spaces with tabs between options and values git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31427 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/firewall/files')
-rw-r--r--package/firewall/files/firewall.config26
1 files changed, 13 insertions, 13 deletions
diff --git a/package/firewall/files/firewall.config b/package/firewall/files/firewall.config
index 6322922651..4f2dc48213 100644
--- a/package/firewall/files/firewall.config
+++ b/package/firewall/files/firewall.config
@@ -1,7 +1,7 @@
config defaults
option syn_flood 1
option input ACCEPT
- option output ACCEPT
+ option output ACCEPT
option forward REJECT
# Uncomment this line to disable ipv6 rules
# option disable_ipv6 1
@@ -9,22 +9,22 @@ config defaults
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 output ACCEPT
+ option output ACCEPT
option forward REJECT
- option masq 1
+ option masq 1
option mtu_fix 1
-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
@@ -77,7 +77,7 @@ config rule
option target ACCEPT
# Allow essential forwarded IPv6 ICMP traffic
-config rule
+config rule
option name Allow-ICMPv6-Forward
option src wan
option dest *
@@ -105,13 +105,13 @@ config include
# option src_ip 192.168.45.2
# option dest wan
# option proto tcp
-# option target REJECT
+# option target REJECT
# block a specific mac on wan
#config rule
# option dest wan
# option src_mac 00:11:22:33:44:66
-# option target REJECT
+# option target REJECT
# block incoming ICMP traffic on a zone
#config rule
@@ -125,7 +125,7 @@ config include
# option src_dport 80
# option dest lan
# option dest_ip 192.168.16.235
-# option dest_port 80
+# option dest_port 80
# option proto tcp
# port redirect of remapped ssh port (22001) on wan
@@ -161,7 +161,7 @@ config include
# option dest_ip 194.25.2.129
# option dest_port 120
# option proto tcp
-# option target REJECT
+# option target REJECT
#config redirect
# option src lan