alexbers / mtprotoproxy

Async MTProto proxy for Telegram
MIT License
1.59k stars 351 forks source link

Using the MTproto Proxy server behind the NAT #273

Open Mohammad-ipv6 opened 2 years ago

Mohammad-ipv6 commented 2 years ago

Issue Description: I would like to use the MTProto Proxy within a Linux server that is located behind the NAT. I can see that within your python script, by using ident.me, you replace the public IPv4 of the server running the docker file to server users' requests. However, my environment is different.

Which parameters/line of code should be changed to cope with this case?

Expected solution: The working proxy with the server address for MTProto is 100.100.100.100

alexbers commented 2 years ago

It should work as is