feat/wip/fix: add inbounds support, fix ssh-proxy

This commit is contained in:
fufsob committed 2026-09-09 16:38:52 +00:00
1 parent ea7916dffb
commit 2a319d1f88
39 files changed
+5093 -48

No files matched your search

+23
View File
@@ -8,6 +8,8 @@
tunFile,
perAppTunFile,
routeModeRulesFile,
proxyInboundsFile,
proxyInboundsSpecFile,
perAppTunChainFile,
perAppTproxyRulesFile,
perAppZapretRulesFile,
@@ -44,6 +46,12 @@ let
hasSubscriptions
sshProxyCfg
sshProxyOutboundEnabled
sshProxyUnitEnabled
proxyInboundsCfg
proxyInboundsEnabled
proxyInboundsNeedLocalProxy
proxyInboundViaOutbounds
userControlEnabled
;
# Tool paths – defined once here and passed into sub-modules as needed.
@@ -64,8 +72,11 @@ let
proxySuiteScriptsDir = ../../../scripts;
parserScriptsPythonPath = proxySuiteScriptsDir;
buildOutboundPy = "${proxySuiteScriptsDir}/build-outbound.py";
buildInboundPy = "${proxySuiteScriptsDir}/build-inbound.py";
fetchSubscriptionPy = "${proxySuiteScriptsDir}/fetch-subscription.py";
builders = import ./builders.nix { inherit lib pkgs; };
polkit = import ./polkit.nix {
inherit lib cfg userControlCfg;
};
@@ -95,6 +106,7 @@ let
xray
parserScriptsPythonPath
buildOutboundPy
buildInboundPy
fetchSubscriptionPy
;
inherit
@@ -102,6 +114,15 @@ let
tunFile
perAppTunFile
routeModeRulesFile
proxyInboundsFile
proxyInboundsSpecFile
;
inherit
proxyInboundsCfg
proxyInboundsNeedLocalProxy
proxyInboundViaOutbounds
userControlEnabled
builders
;
};
@@ -144,6 +165,8 @@ let
;
inherit (scripts) subscriptionTagsFile subscriptionCacheDir;
inherit (scripts) routeModeStateFile;
inherit proxyInboundsEnabled;
inherit (scripts) proxyInboundsLinksFile;
inherit amneziaWgProfileNamesFile;
inherit (perAppRouting)
perAppRoutingProfilesFile