Files
shater/shater-core/files/etc/sysctl.d/99-shater.conf
T
omar 080cbc594d
build / aarch64_cortex-a53 (push) Failing after 2m11s
build / arm_cortex-a7_neon-vfpv4 (push) Failing after 2m19s
build / mipsel_24kc (push) Failing after 1m51s
build / x86_64 (push) Failing after 3m49s
ci: move packages to repo root so gh-action-sdk feed finds them
CI failed: 'No feed for package xrayctl found' / 'No rule to make target
package/xrayctl/download' — gh-action-sdk indexes packages at the feed (repo)
ROOT, not a nested package/ dir. Moved xrayctl/, luci-app-shater/, shater-core/
to root; fixed workflow comment and doc paths.
2026-07-09 02:36:22 +03:00

27 lines
1023 B
Plaintext

# /etc/sysctl.d/99-shater.conf
# Kernel knobs required by the TPROXY + policy-routing data plane.
# Applied at boot by procd's sysctl service; apply now with:
# sysctl -p /etc/sysctl.d/99-shater.conf
# Route between LAN and WAN.
net.ipv4.ip_forward=1
# rp_filter MUST be loose/off: strict reverse-path filtering silently DROPS the
# tproxied packets (LAN source arriving via the `local ... dev lo` trick).
# Classic "rules match but nothing works".
net.ipv4.conf.all.rp_filter=0
net.ipv4.conf.default.rp_filter=0
# Allow routing to 127/8 so `ip route add local 0.0.0.0/0 dev lo table <N>`
# delivers foreign-destination packets to the transparent socket.
net.ipv4.conf.all.route_localnet=1
# Accept packets with a local source address arriving on the loopback path.
net.ipv4.conf.all.accept_local=1
# Keep the source-address validity check happy for marked/looped packets.
net.ipv4.conf.all.src_valid_mark=1
# IPv6 forwarding (globals.ipv6 defaults on; mirror the data plane for v6).
net.ipv6.conf.all.forwarding=1