mirror of https://github.com/hak5/openwrt.git
parent
07d99b62b7
commit
973dad61b0
|
@ -8,7 +8,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=firewall3
|
PKG_NAME:=firewall3
|
||||||
PKG_VERSION:=2013-05-02
|
PKG_VERSION:=2013-05-13
|
||||||
PKG_RELEASE:=$(PKG_SOURCE_VERSION)
|
PKG_RELEASE:=$(PKG_SOURCE_VERSION)
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
|
@ -49,8 +49,6 @@ define Package/firewall3/install
|
||||||
$(INSTALL_DATA) ./files/firewall.config $(1)/etc/config/firewall
|
$(INSTALL_DATA) ./files/firewall.config $(1)/etc/config/firewall
|
||||||
$(INSTALL_DIR) $(1)/etc/
|
$(INSTALL_DIR) $(1)/etc/
|
||||||
$(INSTALL_DATA) ./files/firewall.user $(1)/etc/firewall.user
|
$(INSTALL_DATA) ./files/firewall.user $(1)/etc/firewall.user
|
||||||
$(INSTALL_DIR) $(1)/usr/share/firewall/
|
|
||||||
$(INSTALL_BIN) ./files/ipv6-ula-border.sh $(1)/usr/share/firewall/ipv6-ula-border.sh
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,firewall3))
|
$(eval $(call BuildPackage,firewall3))
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
ULA_PREFIX=$(uci -q get network.globals.ula_prefix)
|
|
||||||
[ -n "$ULA_PREFIX" ] || exit 0
|
|
||||||
|
|
||||||
ip6tables -I delegate_forward -s $ULA_PREFIX -m comment --comment "Enforce ULA-Border" -j zone_wan_dest_REJECT
|
|
||||||
ip6tables -I delegate_forward -d $ULA_PREFIX -m comment --comment "Enforce ULA-Border" -j zone_wan_dest_REJECT
|
|
Loading…
Reference in New Issue