Скрипт, в режиме установки "Установить бинарник + systemd", если запускать на debian13, то сервис, после установки не может стартануть.
✓ Конфигурация сохранена: /etc/teleproxy/config.toml
Created symlink '/etc/systemd/system/multi-user.target.wants/teleproxy.service' → '/etc/systemd/system/teleproxy.service'.
✗ Сервис не запустился:
Apr 12 17:24:18 EXT teleproxy[11591]: [11591][2026-04-12 17:24:18.405109 local] config file error: /etc/teleproxy/config.toml: fopen: /etc/teleproxy/config.toml
Apr 12 17:24:18 EXT systemd[1]: teleproxy.service: Main process exited, code=exited, status=1/FAILURE
Apr 12 17:24:18 EXT systemd[1]: teleproxy.service: Failed with result 'exit-code'.
Apr 12 17:24:23 EXT systemd[1]: teleproxy.service: Scheduled restart job, restart counter is at 8.
Apr 12 17:24:23 EXT systemd[1]: Started teleproxy.service - Teleproxy MTProto Proxy.
Apr 12 17:24:23 EXT teleproxy[11593]: [11593][2026-04-12 17:24:23.637459 local] Invoking engine teleproxy-4.10.0 compiled at Apr 7 2026 10:40:42 by gcc 14.2.0 64-bit after commit f51ea0941f2091f77e2162e784718f306f4b6a81
Apr 12 17:24:23 EXT teleproxy[11593]: [11593][2026-04-12 17:24:23.638862 local] config file error: /etc/teleproxy/config.toml: fopen: /etc/teleproxy/config.toml
Apr 12 17:24:23 EXT systemd[1]: teleproxy.service: Main process exited, code=exited, status=1/FAILURE
Apr 12 17:24:23 EXT systemd[1]: teleproxy.service: Failed with result 'exit-code'.
Apr 12 17:24:28 EXT systemd[1]: Stopped teleproxy.service - Teleproxy MTProto Proxy.
Apr 12 17:29:59 EXT systemd[1]: Started teleproxy.service - Teleproxy MTProto Proxy.
Apr 12 17:29:59 EXT teleproxy[11917]: [11917][2026-04-12 17:29:59.469580 local] Invoking engine teleproxy-4.10.0 compiled at Apr 7 2026 10:40:42 by gcc 14.2.0 64-bit after commit f51ea0941f2091f77e2162e784718f306f4b6a81
Apr 12 17:29:59 EXT teleproxy[11917]: [11917][2026-04-12 17:29:59.471574 local] config file error: /etc/teleproxy/config.toml: fopen: /etc/teleproxy/config.toml
Apr 12 17:29:59 EXT systemd[1]: teleproxy.service: Main process exited, code=exited, status=1/FAILURE
Apr 12 17:29:59 EXT systemd[1]: teleproxy.service: Failed with result 'exit-code'.
✓ CLI: teleproxy-manager
══════════════════════════════════════════════
Teleproxy установлен и работает!
══════════════════════════════════════════════
root@i:~/teleproxy# cat /etc/teleproxy/config.toml
Teleproxy config — 2026-04-12 17:29
port = 443
stats_port = 8888
http_stats = true
workers = 1
direct = true
user = "teleproxy"
domain = "www.google.com"
[[secret]]
key = "4bb548824d6a89f5645779b99c79b18d"
label = "default"
Что может быть не так в конфиге?
Причем если сервис стопнуть, и запустить руками
root@i:~/teleproxy# /usr/local/bin/teleproxy --config /etc/teleproxy/config.toml
[12171][2026-04-12 17:34:46.183405 local] Invoking engine teleproxy-4.10.0 compiled at Apr 7 2026 10:40:42 by gcc 14.2.0 64-bit after commit f51ea0941f2091f77e2162e784718f306f4b6a81
[12171][2026-04-12 17:34:46.184010 local] loaded config from /etc/teleproxy/config.toml
[12171][2026-04-12 17:34:46.184034 local] Proxy domain: www.google.com:443
[12171][2026-04-12 17:34:46.184073 local] direct mode: connecting directly to Telegram DCs (no ME relay)
[12171][2026-04-12 17:34:46.184110 local] secret reload: 0 pinned + 1 active (high-water slot 1)
[12171][2026-04-12 17:34:46.269936 local] Unrecognized encrypted application data length pattern with min = 2656, max = 3964, mean = 3701.900
[12171][2026-04-12 17:34:46.270226 local] Successfully checked domain www.google.com in 0.066 seconds: is_reversed_extension_order = 0, server_hello_encrypted_size = 3702 (from 1 record(s)), use_random_encrypted_size = 1
[12171][2026-04-12 17:34:46.270259 local] It is recommended to not use workers with TLS-transport[12171][2026-04-12 17:34:46.270917 local] creating 1 workers
[12172][2026-04-12 17:34:46.276478 local] Started as [195.66.87.35:8888:12172:1776004486]
[12172][2026-04-12 17:34:46.277319 local] main loop
[12171][2026-04-12 17:34:46.280506 local] Started as [195.66.87.35:8888:12171:1776004486]
[12171][2026-04-12 17:34:46.280808 local] main loop
при этом
ss -tunlp | grep tel
tcp LISTEN 0 4096 0.0.0.0:8888 0.0.0.0:* users:(("teleproxy",pid=12171,fd=4))
tcp LISTEN 0 4096 0.0.0.0:443 0.0.0.0:* users:(("teleproxy",pid=12172,fd=3),("teleproxy",pid=12171,fd=3))
Клиент ТГ на macOC 14 (последний) не подключается.
Скрипт, в режиме установки "Установить бинарник + systemd", если запускать на debian13, то сервис, после установки не может стартануть.
✓ Конфигурация сохранена: /etc/teleproxy/config.toml
Created symlink '/etc/systemd/system/multi-user.target.wants/teleproxy.service' → '/etc/systemd/system/teleproxy.service'.
✗ Сервис не запустился:
Apr 12 17:24:18 EXT teleproxy[11591]: [11591][2026-04-12 17:24:18.405109 local] config file error: /etc/teleproxy/config.toml: fopen: /etc/teleproxy/config.toml
Apr 12 17:24:18 EXT systemd[1]: teleproxy.service: Main process exited, code=exited, status=1/FAILURE
Apr 12 17:24:18 EXT systemd[1]: teleproxy.service: Failed with result 'exit-code'.
Apr 12 17:24:23 EXT systemd[1]: teleproxy.service: Scheduled restart job, restart counter is at 8.
Apr 12 17:24:23 EXT systemd[1]: Started teleproxy.service - Teleproxy MTProto Proxy.
Apr 12 17:24:23 EXT teleproxy[11593]: [11593][2026-04-12 17:24:23.637459 local] Invoking engine teleproxy-4.10.0 compiled at Apr 7 2026 10:40:42 by gcc 14.2.0 64-bit after commit f51ea0941f2091f77e2162e784718f306f4b6a81
Apr 12 17:24:23 EXT teleproxy[11593]: [11593][2026-04-12 17:24:23.638862 local] config file error: /etc/teleproxy/config.toml: fopen: /etc/teleproxy/config.toml
Apr 12 17:24:23 EXT systemd[1]: teleproxy.service: Main process exited, code=exited, status=1/FAILURE
Apr 12 17:24:23 EXT systemd[1]: teleproxy.service: Failed with result 'exit-code'.
Apr 12 17:24:28 EXT systemd[1]: Stopped teleproxy.service - Teleproxy MTProto Proxy.
Apr 12 17:29:59 EXT systemd[1]: Started teleproxy.service - Teleproxy MTProto Proxy.
Apr 12 17:29:59 EXT teleproxy[11917]: [11917][2026-04-12 17:29:59.469580 local] Invoking engine teleproxy-4.10.0 compiled at Apr 7 2026 10:40:42 by gcc 14.2.0 64-bit after commit f51ea0941f2091f77e2162e784718f306f4b6a81
Apr 12 17:29:59 EXT teleproxy[11917]: [11917][2026-04-12 17:29:59.471574 local] config file error: /etc/teleproxy/config.toml: fopen: /etc/teleproxy/config.toml
Apr 12 17:29:59 EXT systemd[1]: teleproxy.service: Main process exited, code=exited, status=1/FAILURE
Apr 12 17:29:59 EXT systemd[1]: teleproxy.service: Failed with result 'exit-code'.
✓ CLI: teleproxy-manager
══════════════════════════════════════════════
Teleproxy установлен и работает!
══════════════════════════════════════════════
root@i:~/teleproxy# cat /etc/teleproxy/config.toml
Teleproxy config — 2026-04-12 17:29
Docs: https://teleproxy.github.io
port = 443
stats_port = 8888
http_stats = true
workers = 1
direct = true
user = "teleproxy"
domain = "www.google.com"
[[secret]]
key = "4bb548824d6a89f5645779b99c79b18d"
label = "default"
Что может быть не так в конфиге?
Причем если сервис стопнуть, и запустить руками
root@i:~/teleproxy# /usr/local/bin/teleproxy --config /etc/teleproxy/config.toml
[12171][2026-04-12 17:34:46.183405 local] Invoking engine teleproxy-4.10.0 compiled at Apr 7 2026 10:40:42 by gcc 14.2.0 64-bit after commit f51ea0941f2091f77e2162e784718f306f4b6a81
[12171][2026-04-12 17:34:46.184010 local] loaded config from /etc/teleproxy/config.toml
[12171][2026-04-12 17:34:46.184034 local] Proxy domain: www.google.com:443
[12171][2026-04-12 17:34:46.184073 local] direct mode: connecting directly to Telegram DCs (no ME relay)
[12171][2026-04-12 17:34:46.184110 local] secret reload: 0 pinned + 1 active (high-water slot 1)
[12171][2026-04-12 17:34:46.269936 local] Unrecognized encrypted application data length pattern with min = 2656, max = 3964, mean = 3701.900
[12171][2026-04-12 17:34:46.270226 local] Successfully checked domain www.google.com in 0.066 seconds: is_reversed_extension_order = 0, server_hello_encrypted_size = 3702 (from 1 record(s)), use_random_encrypted_size = 1
[12171][2026-04-12 17:34:46.270259 local] It is recommended to not use workers with TLS-transport[12171][2026-04-12 17:34:46.270917 local] creating 1 workers
[12172][2026-04-12 17:34:46.276478 local] Started as [195.66.87.35:8888:12172:1776004486]
[12172][2026-04-12 17:34:46.277319 local] main loop
[12171][2026-04-12 17:34:46.280506 local] Started as [195.66.87.35:8888:12171:1776004486]
[12171][2026-04-12 17:34:46.280808 local] main loop
при этом
ss -tunlp | grep tel
tcp LISTEN 0 4096 0.0.0.0:8888 0.0.0.0:* users:(("teleproxy",pid=12171,fd=4))
tcp LISTEN 0 4096 0.0.0.0:443 0.0.0.0:* users:(("teleproxy",pid=12172,fd=3),("teleproxy",pid=12171,fd=3))
Клиент ТГ на macOC 14 (последний) не подключается.