summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-13 03:31:53 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-13 03:31:53 +0000
commit930ebf26f0f9c91acab5e771ae7fa04dc404017f (patch)
treed9ea8fa61c90b52ff037b4bab6f85ba46378109f
parentdbad7c2943cb9a206740e1e047cc7381a650c9dc (diff)
[package] firewall: allow incoming udp/68 packets in the default configuration (#4108, #4781)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17238 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/firewall/Makefile2
-rw-r--r--package/firewall/files/firewall.config8
2 files changed, 9 insertions, 1 deletions
diff --git a/package/firewall/Makefile b/package/firewall/Makefile
index 7dcc2f573..0f1b1118d 100644
--- a/package/firewall/Makefile
+++ b/package/firewall/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=firewall
PKG_VERSION:=1
-PKG_RELEASE:=4
+PKG_RELEASE:=5
include $(INCLUDE_DIR)/package.mk
diff --git a/package/firewall/files/firewall.config b/package/firewall/files/firewall.config
index 464540f99..5a4b5af43 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