dpi-tunnel: add an Xray Reality PQ full-tunnel client
DPI on some uplinks throttles WireGuard. Tunnel everything through Xray VLESS + REALITY with post-quantum VLESS Encryption on tun1. Routes in the main table that are more specific than the default (LAN, wg* prefixes) keep priority; prefixes listed in the routes secret are forced through the tunnel. The client's own uplink is fwmarked so it never loops back into tun1. UDP sessions on the tun device stay pinned to a dead mux link after suspend or Wi-Fi loss, so restart the client on resume and whenever NetworkManager brings up a new uplink. Stopping the unit removes all the rules and routes. Secrets come from secrets/dpi-tunnel.yaml through sops. Only the .example skeleton is tracked. Assisted-by: Claude:opus-5-5
This commit is contained in:
parent
4c2be3925d
commit
ffb7554594
3 changed files with 156 additions and 0 deletions
|
|
@ -18,6 +18,7 @@
|
|||
./modules/sops.nix
|
||||
./modules/power.nix
|
||||
./modules/xray.nix
|
||||
./modules/dpi-tunnel.nix
|
||||
./modules/ollama.nix
|
||||
./modules/lemonade.nix
|
||||
./modules/gaming.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue