summaryrefslogtreecommitdiff
path: root/package/firewall/files/firewall.config
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-08-13 03:31:53 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-08-13 03:31:53 +0000
commitb44b066543496c7dcead0df987a7f8cbae3ff3e0 (patch)
tree7d1585ea1e20ced50c3b8e3b7b0c5eb2f8ba0255 /package/firewall/files/firewall.config
parentf83925811c8d114616c507619332cba1a894004a (diff)
downloadmtk-20170518-b44b066543496c7dcead0df987a7f8cbae3ff3e0.zip
mtk-20170518-b44b066543496c7dcead0df987a7f8cbae3ff3e0.tar.gz
mtk-20170518-b44b066543496c7dcead0df987a7f8cbae3ff3e0.tar.bz2
firewall: allow incoming udp/68 packets in the default configuration (#4108, #4781)
SVN-Revision: 17238
Diffstat (limited to 'package/firewall/files/firewall.config')
-rw-r--r--package/firewall/files/firewall.config8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/firewall/files/firewall.config b/package/firewall/files/firewall.config
index 464540f..5a4b5af 100644
--- a/package/firewall/files/firewall.config
+++ b/package/firewall/files/firewall.config
@@ -22,6 +22,14 @@ config forwarding
option dest wan
option mtu_fix 1
+# We need to accept udp packets on port 68,
+# see https://dev.openwrt.org/ticket/4108
+config rule
+ option src wan
+ option proto udp
+ option dest_port 68
+ option target ACCEPT
+
# include a file with users custom iptables rules
config include
option path /etc/firewall.user