target: switch to firewall4

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2022-03-08 16:23:30 +08:00
parent c992cc733c
commit a1a97d28c2
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
3 changed files with 11 additions and 25 deletions

View File

@ -54,8 +54,8 @@ DEFAULT_PACKAGES.nas:=\
# For router targets
DEFAULT_PACKAGES.router:=\
dnsmasq-full \
firewall \
iptables \
firewall4 \
iptables-nft \
ipv6helper \
ppp \
ppp-mod-pppoe
@ -63,7 +63,6 @@ DEFAULT_PACKAGES.router:=\
DEFAULT_PACKAGES.tweak:=\
block-mount \
default-settings-chn \
kmod-ipt-raw \
kmod-nf-nathelper \
kmod-nf-nathelper-extra \
luci \

View File

@ -1,38 +1,25 @@
#
# Copyright (C) 2015 OpenWrt-dist
#
# This is free software, licensed under the GNU General Public License v3.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=ipv6helper
PKG_VERSION:=1.0
PKG_RELEASE:=4
PKG_RELEASE:=5
PKG_LICENSE:=GPLv3
PKG_LICENSE_FILES:=LICENSE
PKG_MAINTAINER:=LEAN
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
PKG_MAINTAINER:=Lean
include $(INCLUDE_DIR)/package.mk
define Package/ipv6helper
SECTION:=ipv6
TITLE:=IPv6 Helper and Dynamic Update he.net of ip
DEPENDS:=+luci-proto-ipv6 +wget-ssl +libip6tc +ip6tables +ip6tables-mod-nat \
+kmod-ipt-nat6 +kmod-nf-nat6 +odhcpd-ipv6only +odhcp6c +6in4
PKGARCH:=all
SECTION:=ipv6
TITLE:=IPv6 Helper and Dynamic Update he.net of ip
DEPENDS:=+luci-proto-ipv6 +libip6tc +ip6tables-nft +ip6tables-mod-nat \
+kmod-ipt-nat6 +kmod-nf-nat6 +odhcpd-ipv6only +odhcp6c +6in4
PKGARCH:=all
endef
define Package/ipv6helper/description
IPv6 Helper and Dynamic Update he.net of ip
IPv6 Helper and Dynamic Update he.net of ip
endef
define Build/Compile
true
endef
define Package/ipv6helper/install

View File

@ -8,5 +8,5 @@ config_get tunnelid $INTERFACE tunnelid
config_get username $INTERFACE username
config_get password $INTERFACE password
if [ "$tunnelid" != "" ]; then
wget -O - https://$username:$password@ipv4.tunnelbroker.net/nic/update?hostname=$tunnelid --no-check-certificate
wget -O - https://$username:$password@ipv4.tunnelbroker.net/nic/update?hostname=$tunnelid
fi