change default tg-ws-proxy port
This commit is contained in:
3 files changed
+22
-26
No files matched your search
@@ -104,7 +104,7 @@ services.proxy-suite = {
|
|||||||
tgWsProxy = {
|
tgWsProxy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
host = "127.0.0.1";
|
host = "127.0.0.1";
|
||||||
port = 1076;
|
port = 1443;
|
||||||
# Inline secret is convenient for testing, but ends up in the Nix store.
|
# Inline secret is convenient for testing, but ends up in the Nix store.
|
||||||
# For real use, prefer secretFile with a secret file.
|
# For real use, prefer secretFile with a secret file.
|
||||||
secret = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
|
secret = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
|
||||||
|
|||||||
+2
-2
@@ -260,7 +260,7 @@ services.proxy-suite = {
|
|||||||
dcIps = { };
|
dcIps = { };
|
||||||
enable = false;
|
enable = false;
|
||||||
host = "127.0.0.1";
|
host = "127.0.0.1";
|
||||||
port = 1076;
|
port = 1443;
|
||||||
secret = null;
|
secret = null;
|
||||||
secretFile = null;
|
secretFile = null;
|
||||||
};
|
};
|
||||||
@@ -3693,7 +3693,7 @@ WebSocket proxy\.
|
|||||||
*Default:*
|
*Default:*
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
1076
|
1443
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -20,29 +20,25 @@ in
|
|||||||
example = "proxy-suite";
|
example = "proxy-suite";
|
||||||
};
|
};
|
||||||
|
|
||||||
global.enable =
|
global.enable = (mkEnableOption "passwordless proxy-ctl control over global proxy-suite units") // {
|
||||||
(mkEnableOption "passwordless proxy-ctl control over global proxy-suite units")
|
default = true;
|
||||||
// {
|
description = ''
|
||||||
default = true;
|
Whether members of userControl.group may manage global
|
||||||
description = ''
|
proxy-suite units without password prompts via commands like
|
||||||
Whether members of userControl.group may manage global
|
`proxy-ctl tun on|off`, `proxy-ctl tproxy on|off`,
|
||||||
proxy-suite units without password prompts via commands like
|
`proxy-ctl restart`, or `proxy-ctl subscription update`.
|
||||||
`proxy-ctl tun on|off`, `proxy-ctl tproxy on|off`,
|
'';
|
||||||
`proxy-ctl restart`, or `proxy-ctl subscription update`.
|
};
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
perApp.enable =
|
perApp.enable = (mkEnableOption "passwordless proxy-ctl control over per-app routing helpers") // {
|
||||||
(mkEnableOption "passwordless proxy-ctl control over per-app routing helpers")
|
default = true;
|
||||||
// {
|
description = ''
|
||||||
default = true;
|
Whether members of userControl.group may start and stop the
|
||||||
description = ''
|
app-scoped backend units used by `proxy-ctl wrap ...` for
|
||||||
Whether members of userControl.group may start and stop the
|
route = "tun", route = "tproxy", or route = "zapret" profiles
|
||||||
app-scoped backend units used by `proxy-ctl wrap ...` for
|
without password prompts.
|
||||||
route = "tun", route = "tproxy", or route = "zapret" profiles
|
'';
|
||||||
without password prompts.
|
};
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
tray = {
|
tray = {
|
||||||
@@ -75,7 +71,7 @@ in
|
|||||||
|
|
||||||
port = mkOption {
|
port = mkOption {
|
||||||
type = types.port;
|
type = types.port;
|
||||||
default = 1076;
|
default = 1443;
|
||||||
description = ''
|
description = ''
|
||||||
TCP listen port for tg-ws-proxy.
|
TCP listen port for tg-ws-proxy.
|
||||||
Telegram clients connect to this endpoint when using the local MTProto
|
Telegram clients connect to this endpoint when using the local MTProto
|
||||||
|
|||||||
Reference in new issue
Block a user