zxlhhyccc 1f0849ec06 luci-app-ssr-plus: fix(ipv6): add missing @gmlan6 rule in nftables backend
Problem:
  ipv6_policy_rules() in ipv6.sh (nftables backend) is missing the
  gmlan6 match that the iptables backend already has. In router mode,
  traffic sourced from the game-mode LAN set is not routed through
  the proxy on IPv6, while IPv4 handles it correctly via the
  equivalent gmlan rule.

Fix:
  Add
    add rule inet ss_spec $chain ip6 saddr @gmlan6 ip6 daddr != @CHINA6 goto $target
  to the router branch of ipv6_policy_rules(), mirroring the IPv4
  behaviour in ipset_nft().

Notes:
  - The rule is placed after "china6 return" and before the
    unconditional "goto $target" so that China destinations stay
    direct while non-China gmlan6 sources go through the proxy.
  - The gfw and all branches are unchanged: gfw already has its own
    gmlan6 rule, and all routes everything through the proxy anyway.
2026-10-14 20:08:26 +08:00
2022-11-17 19:42:45 +08:00
2026-07-14 01:18:28 +08:00
2026-08-20 01:00:12 +08:00
2025-04-22 21:18:47 +08:00
2025-04-22 21:13:39 +08:00
2025-02-08 21:40:49 +08:00
2026-03-27 22:20:04 +08:00
2025-08-25 05:28:24 +08:00
2026-03-27 00:19:37 +08:00
2026-06-15 21:37:58 +08:00
2026-02-09 00:33:10 +08:00
2026-02-28 00:35:50 +08:00
2022-06-12 20:27:03 +08:00
2024-03-01 00:51:58 +08:00

Setup instruction

Install clang first.

Method 1 - Clone this repo directly

  1. Clone this repo:

    rm -rf package/helloworld
    git clone --depth=1 https://github.com/fw876/helloworld.git package/helloworld
    
  2. Pull upstream commits:

    git -C package/helloworld pull
    
  • Remove

    rm -rf package/helloworld
    

Method 2 - Add this repo as a git submodule

  1. Add new submodule:

    rm -rf package/helloworld
    git submodule add -f --name helloworld https://github.com/fw876/helloworld.git package/helloworld
    
  2. Pull upstream commits:

    git submodule update --remote package/helloworld
    
  • Remove

    git submodule deinit -f package/helloworld
    git rm -f package/helloworld
    git reset HEAD .gitmodules
    rm -rf .git/modules{/,/package/}helloworld
    

Method 3 - Add this repo as an OpenWrt feed

  1. Add new feed:

    sed -i "/helloworld/d" "feeds.conf.default"
    echo "src-git helloworld https://github.com/fw876/helloworld.git" >> "feeds.conf.default"
    
  2. Pull upstream commits:

    ./scripts/feeds update helloworld
    ./scripts/feeds install -a -f -p helloworld
    
  • Remove

    sed -i "/helloworld/d" "feeds.conf.default"
    ./scripts/feeds clean
    ./scripts/feeds update -a
    ./scripts/feeds install -a
    

Note

⚠ For OpenWrt 21.02 or lower version

You have to manually upgrade Golang toolchain to 1.21 or higher to compile Xray-core.

S
Description
No description provided
Readme GPL-3.0
16 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 64.3%
Shell 10.8%
Makefile 10%
Lua 4.8%
Roff 3.8%
Other 6.1%