feat: hysteria2 x-forward

This commit is contained in:
fufsob committed 2026-10-11 16:27:16 +00:00
1 parent cae589626a
commit 7d96e7c6f8
9 files changed
+54 -6

No files matched your search

+3
View File
@@ -1384,6 +1384,9 @@ let
== "https://www.example.com"
))
(ok (lib.head (builtins.filter (l: l.tag == "hy2-in") firewallSpec.listeners)).hysteria.rewriteHost)
(ok (
!(lib.head (builtins.filter (l: l.tag == "hy2-in") firewallSpec.listeners)).hysteria.xForwarded
))
(ok (noFirewallFixture.config.networking.firewall.allowedTCPPorts == [ ]))
# The unit exists, and only waits on the client stack when it relays.