Skip to content

Commit 49ccb34

Browse files
Fix dae VETH (virtual eth)
Signed-off-by: Nicholas Sun <nicholas-sun@outlook.com>
1 parent 5271851 commit 49ccb34

File tree

5 files changed

+16
-5
lines changed

5 files changed

+16
-5
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
nft 'insert rule inet fw4 forward tcp sport 5223 ct state related,established accept'
2+
nft 'insert rule inet fw4 forward tcp dport 5223 ct state related,established accept'
3+
nft 'insert rule inet fw4 forward udp sport 53 accept'

PATCH/duplicate/files/usr/share/nftables.d/chain-pre/forward/10-ios.nft

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
diff -Nuar a/root/sbin/fw4 b/root/sbin/fw4
2+
--- a/root/sbin/fw4 2024-01-24 17:32:33.847733300 +0800
3+
+++ b/root/sbin/fw4 2024-01-24 17:35:17.777739247 +0800
4+
@@ -34,6 +34,7 @@
5+
6+
ACTION=start \
7+
utpl -S $MAIN | nft $VERBOSE -f $STDIN
8+
+ sh "/etc/custom_nft.rule" || true
9+
10+
ACTION=includes \
11+
utpl -S $MAIN

SCRIPTS/02_prepare_package.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ cp -rf ../lede/target/linux/generic/hack-5.15/952-add-net-conntrack-events-suppo
2626
# Patch firewall to enable fullcone
2727
mkdir -p package/network/config/firewall4/patches
2828
cp -f ../PATCH/firewall/001-fix-fw4-flow-offload.patch ./package/network/config/firewall4/patches/001-fix-fw4-flow-offload.patch
29+
cp -f ../PATCH/firewall/002-fw4-udp53_and_apns.patch ./package/network/config/firewall4/patches/002-fw4-udp53_and_apns.patch
2930
cp -f ../PATCH/firewall/990-unconditionally-allow-ct-status-dnat.patch ./package/network/config/firewall4/patches/990-unconditionally-allow-ct-status-dnat.patch
3031
cp -f ../PATCH/firewall/999-01-firewall4-add-fullcone-support.patch ./package/network/config/firewall4/patches/999-01-firewall4-add-fullcone-support.patch
3132
mkdir -p package/libs/libnftnl/patches

SCRIPTS/switch

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,5 @@
88
#
99
# Change Lines
1010
#
11-
# Happy 2024
12-
#
13-
# 5 Jan
11+
# 31 Jan
1412

0 commit comments

Comments
 (0)