mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-27 12:52:51 +08:00
37 lines
1.3 KiB
Diff
37 lines
1.3 KiB
Diff
--- a/firewall4/Makefile
|
|
+++ b/firewall4/Makefile
|
|
@@ -25,7 +25,8 @@ define Package/firewall4
|
|
+kmod-nft-core +kmod-nft-fib +kmod-nft-offload \
|
|
+kmod-nft-nat +kmod-nft-fullcone \
|
|
+nftables-json \
|
|
- +ucode +ucode-mod-fs +ucode-mod-ubus +ucode-mod-uci
|
|
+ +ucode +ucode-mod-fs +ucode-mod-ubus +ucode-mod-uci \
|
|
+ +iptables +ip6tables +kmod-nft-fullcone +kmod-nft-socket +kmod-nft-tproxy
|
|
EXTRA_DEPENDS:=ucode (>=2022.03.22)
|
|
PROVIDES:=uci-firewall
|
|
DEFAULT_VARIANT:=1
|
|
@@ -39,6 +40,7 @@ endef
|
|
define Package/firewall4/conffiles
|
|
/etc/config/firewall
|
|
/etc/nftables.d/
|
|
+/etc/firewall.user
|
|
endef
|
|
|
|
define Package/firewall4/install
|
|
|
|
--- a/firewall/Makefile
|
|
+++ b/firewall/Makefile
|
|
@@ -32,9 +32,10 @@ define Package/firewall
|
|
TITLE:=OpenWrt C Firewall
|
|
DEPENDS:=+libubox +libubus +libuci +libip4tc +IPV6:libip6tc +libiptext +IPV6:libiptext6 \
|
|
+libxtables +kmod-ipt-core +kmod-ipt-conntrack +IPV6:kmod-nf-conntrack6 +kmod-ipt-nat \
|
|
- +iptables-mod-fullconenat
|
|
+ +iptables-mod-fullconenat \
|
|
+ +iptables-mod-fullconenat +ip6tables-mod-fullconenat +iptables-legacy +ip6tables-legacy +kmod-ipt-nat6 +kmod-ipt-offload \
|
|
+ +ipset +iptables-mod-conntrack-extra +iptables-mod-iprange +iptables-mod-socket +iptables-mod-tproxy
|
|
PROVIDES:=uci-firewall
|
|
- CONFLICTS:=firewall4
|
|
endef
|
|
|
|
define Package/firewall/description
|