Skip to content

Cannot setup chain of mtproxies #672

@verycrawfish100500

Description

@verycrawfish100500

Hello.
I am trying to make chain of two mtproxies, that is, Telegram_client(local) -> proxy1 -> proxy2 - > telgram servers in the internet.

And i cannot.

Proxy 1 and proxy 2 are on different physical servers.

running proxy2:

./mtproto-proxy -u common-user -p 8888 -H 43951 -S `cat users_secret.txt` --aes-pwd proxy-secret proxy-multi.conf -M 1

running proxy1:

./mtproto-proxy --verbosity=2 -p 8888 -H 43951 -l mtproxy.log -S `cat users_secret.txt` --aes-pwd proxy-secret _proxy-multi.conf -M 1

For proxy 1, _proxy-multi.conf has following contents:

default 2;
proxy_for 2 10.0.0.1:43951;

(10.0.0.1 is an address of server with proxy 2. If it is incorrect to replace proxy-multi.conf contents, then how should I set adress of the upstream proxy?)

When tg client tries to connect to proxy 2, i get (among many others) messages like that:

nowhere to forward user query from connection 7, dropping

However, if i try to connect from tg client directly to proxy 2, everything works.

So, I am asking for help for that setup

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