target: include nft offload by default

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2022-08-27 13:44:42 +08:00
parent ff939b693d
commit 4ac1291457
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
3 changed files with 8 additions and 5 deletions

View File

@ -55,6 +55,8 @@ DEFAULT_PACKAGES.nas:=\
DEFAULT_PACKAGES.router:=\
dnsmasq-full \
firewall4 \
nftables \
kmod-nft-offload \
ppp \
ppp-mod-pppoe
# For easy usage
@ -68,7 +70,6 @@ DEFAULT_PACKAGES.tweak:=\
kmod-nf-nathelper-extra \
luci \
luci-app-cpufreq \
luci-app-turboacc \
luci-compat \
luci-lib-base \
luci-lib-fs \

View File

@ -3,7 +3,8 @@ config defaults
option input ACCEPT
option output ACCEPT
option forward REJECT
option fullcone 1
option flow_offloading 1
option fullcone 1
# Uncomment this line to disable ipv6 rules
# option disable_ipv6 1

View File

@ -22,12 +22,13 @@ Renew: ZiMing Mo <msylgj@immortalwrt.org>
--- a/root/etc/config/firewall
+++ b/root/etc/config/firewall
@@ -5,6 +5,8 @@ config defaults
@@ -5,6 +5,9 @@ config defaults
option forward REJECT
# Uncomment this line to disable ipv6 rules
# option disable_ipv6 1
+ option fullcone '1'
+ option fullcone6 '0'
+ option flow_offloading 1
+ option fullcone 1
+ option fullcone6 0
config zone
option name lan