TelegramMessenger / MTProxy

5k stars 829 forks source link

Can not connect via DSL connection #86

Closed Azaaaad closed 6 years ago

Azaaaad commented 6 years ago

Hi. Im in Iran. I can connect easily to most of mtproto proxies via 4g and 3g, but when i need to connect via DSL 90% of proxies with different ports cant work. The proxies stay on checking. Any solution?

iBunta commented 6 years ago

They're are detecting MTProto proxy servers and block their ip's! I don't know if they are doing this automatically or they just search the whole telegram. We cant do anything. Need an update for making it Unblockable.

Azaaaad commented 6 years ago

Im almost aure that they haven't blocked my ip. I only myself know the ip. Also if they want to block, block in whole the network, not only DSL.

Kolahzary commented 6 years ago

Try updating your TDesktop, I had the same problem and it was solved after updating

Azaaaad commented 6 years ago

I have this problem on android client.

Kolahzary commented 6 years ago

Try changing port on server(some of my friends reported that port 80 is working better), check different configuration and let us know if you made it work.

Azaaaad commented 6 years ago

I used port 80 and 443, but the same problem. Connection is OK about 1 hour, but after this period of time can't connect to proxy!

VahidPY commented 6 years ago

@Azaaaad Blocking IPs not the same on all ISPs. According your DSL ISP, if you can connect to your server through ssh, your IP is not blocked. Check all possibilities you guess might related. If you can ping your server (with the IP) inside of the country your IP, again it is not blocked. Check your service status using service mtproto-proxy status, but if just on one ISP not works, it's not the problem and your service is active. I used some other ports that solved my problem, you should also give it a try.

Also read all comments of #79 and #87

Azaaaad commented 6 years ago

Thank you @VahidPY . I can connect to my VPS without any problem. I also get a ping of my ip, Its OK. Im completely confused whats happening!

VahidPY commented 6 years ago

Did you check out status of your mtproto proxy? Is everything ok? Something similar happened to https://github.com/TelegramMessenger/MTProxy/issues/87#issuecomment-395405445 when his other services works so IP is not blocked. You have the same problem.

Please follow and participate in the issue #87 and close this issue.

aminghaseminia commented 3 years ago

@Azaaaad is absoloutely right. Most of mtproto proxies that I make don't work on DSL connections ONLY on android. the same proxy with the same ip and port works on PC with the same DSL connection. but on android the same proxy with the same IP and port doesn't work on the same DSL connection. It's strange and it CAN'T be related to the connection. seems that there's something wrong with the android client. what can we do? P.s: not all proxies are like this, but the proxies that I make using the official mtproto proxy maker is like this.