MTProxy icon indicating copy to clipboard operation
MTProxy copied to clipboard

Truble with using --nat-info

Open Bouki6 opened this issue 6 years ago • 1 comments

Hello. I have MTProxy Srever with two interfaces like this: eth0: 195.1.1.1 ppp0(VPN): 10.10.10.141 i tried to using this scenario: TelegramClient-->(MTProto proxy server) -->TelegramServer telegram client connect to proxy through 195.1.1.1 ip address over eth0 interface and proxy server nat the traffic through vpn to telegram server. but for some reason it didn't work. i have no idea why!! i implemented the same scenario with SOCKS and CCProxy on windows. I'm no expert on linux and i guess i miss something . i use this --net--info like this: --nat-info 195.1.1.1:10.10.10.141 and --nat-info 10.10.10.141:195.1.1.1

here is my nestat output. as you can see proxy server successfully connected to telegram servers on 8888 port:

tcp        0     44 10.10.10.141:60496      91.108.4.207:8888       ESTABLISHED
tcp        0     44 10.10.10.141:59094      91.108.4.129:8888       ESTABLISHED
tcp        0     48 10.10.10.141:59684      91.108.56.129:8888      ESTABLISHED
tcp        0     48 10.10.10.141:35984      91.108.4.174:8888       ESTABLISHED
tcp        0     44 10.10.10.141:60446      91.108.4.207:8888       ESTABLISHED

Bouki6 avatar Jul 30 '19 12:07 Bouki6

Hi, Any update?

Mohammad-ipv6 avatar Oct 01 '22 17:10 Mohammad-ipv6