Skip to content

No connect to MTPproxy #645

@vlbaturin

Description

@vlbaturin

ss -tulnp

tcp LISTEN 0 4096 0.0.0.0:8443 0.0.0.0:* users:(("mtproto-proxy",pid=3193,fd=3),("mtproto-proxy",pid=3192,fd=3))

service.

[Unit]
Description=MTProxy
After=network.target

[Service]
Type=simple
WorkingDirectory=/opt/MTProxy
ExecStart=/opt/MTProxy/mtproto-proxy -u mtproxy -p 8888 -H 8443 -S 98e72c0825615d867ecef6d93fbb65ed --aes-pwd proxy-secret proxy-multi.conf -M 1 -v
Restart=on-failure

[Install]
WantedBy=multi-user.target

Aug 27 16:06:46 mtp.aeza.network mtproto-proxy[3193]: [3193][2025-08-27 16:06:46.753898 local] Connected to RPC Middle-End (fd=52)
Aug 27 16:06:46 mtp.aeza.network mtproto-proxy[3192]: [3192][2025-08-27 16:06:46.896248 local] Connected to RPC Middle-End (fd=52)
Aug 27 16:06:47 mtp.aeza.network mtproto-proxy[3193]: [3193][2025-08-27 16:06:47.015199 local] Created NEW connection #29 to 91.108.4.191:8888
Aug 27 16:06:47 mtp.aeza.network mtproto-proxy[3193]: [3193][2025-08-27 16:06:47.015723 local] New outbound connection #29 ipsrv:56556 -> 91.108.4.191:8888
Aug 27 16:06:47 mtp.aeza.network mtproto-proxy[3193]: [3193][2025-08-27 16:06:47.016009 local] Created NEW connection #65 to 91.108.4.191:8888
Aug 27 16:06:47 mtp.aeza.network mtproto-proxy[3193]: [3193][2025-08-27 16:06:47.016236 local] New outbound connection #65 ipsrv:56560 -> 91.108.4.191:8888
Aug 27 16:06:47 mtp.aeza.network mtproto-proxy[3193]: [3193][2025-08-27 16:06:47.016445 local] Created NEW connection #66 to 91.108.4.191:8888
Aug 27 16:06:47 mtp.aeza.network mtproto-proxy[3193]: [3193][2025-08-27 16:06:47.554238 local] trying to determine type of connection from 94.180.148.89:50022
Aug 27 16:06:47 mtp.aeza.network mtproto-proxy[3193]: [3193][2025-08-27 16:06:47.554394 local] invalid "random" 64-byte header, entering global skip mode

fw

sudo ufw allow 8443/tcp

#proxy-multi.conf

force_probability 10 10

default 2;
proxy_for 1 149.154.175.50:8888;
proxy_for -1 149.154.175.50:8888;
proxy_for 2 149.154.161.144:8888;
proxy_for -2 149.154.161.144:8888;
proxy_for 3 149.154.175.100:8888;
proxy_for -3 149.154.175.100:8888;
proxy_for 4 91.108.4.181:8888;
proxy_for 4 91.108.4.171:8888;
proxy_for 4 91.108.4.175:8888;
proxy_for 4 91.108.4.191:8888;
proxy_for 4 91.108.4.172:8888;
proxy_for 4 91.108.4.136:8888;
proxy_for 4 91.108.4.144:8888;
proxy_for 4 91.108.4.218:8888;
proxy_for 4 91.108.4.197:8888;
proxy_for 4 91.108.4.178:8888;
proxy_for -4 149.154.165.109:8888;
proxy_for -4 149.154.165.250:8888;
proxy_for 5 91.108.56.150:8888;
proxy_for 5 91.108.56.119:8888;
proxy_for -5 91.108.56.150:8888;
proxy_for -5 91.108.56.119:8888;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions