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.
A home router has a WAN with public IP address as, for instance, 100.100.100.100
The Ubuntu server (running the MTProto docker image) has 192.168.1.1 (which obtains its address from the router via DHCP)
The ubuntu server has only two interfaces. lo and eth0: 192.168.1.1
The home router enabled the port forwarding to send the request received on the WAN port to the Ubuntu server on eth0.
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
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