Browse Source

firewall: allow incoming udp/68 packets in the default configuration (#4108, #4781)

SVN-Revision: 17238
Jo-Philipp Wich 16 years ago
parent
commit
b44b066543
2 changed files with 9 additions and 1 deletions
  1. 1 1
      package/firewall/Makefile
  2. 8 0
      package/firewall/files/firewall.config

+ 1 - 1
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
 

+ 8 - 0
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