MTProxy icon indicating copy to clipboard operation
MTProxy copied to clipboard

mtproxy server behind cdn?

Open euphoria360 opened this issue 8 years ago • 16 comments

Is it possible to hide our mtproxy servers behind Cloudflare or other cdns to hide its IP and decrease latency?

P.s I tried cloudflare but didnt work.

euphoria360 avatar Jun 10 '18 20:06 euphoria360

cloudflare ports are limited

you should use one of this ports 80 8080 8880 2052 2082 2086 2095

smaznet avatar Jun 13 '18 06:06 smaznet

I created a subdomain with cloudflare proxy enabled and also a MTProxy server on port 8880. But when I tried to connect to my server, it rapidly connects/disconnects.

Do you have an already working setup?

euphoria360 avatar Jun 13 '18 07:06 euphoria360

@euphoria360

yes mine proxy works perfectly without disconnecting

smaznet avatar Jun 13 '18 07:06 smaznet

@smaznet can i ask your port and any customized cloudflare settings (if any)?

euphoria360 avatar Jun 13 '18 07:06 euphoria360

in cloudflare DNS an A Record to my server ip and also set it to DNS only (a cloud icon)

smaznet avatar Jun 13 '18 07:06 smaznet

And your port?

euphoria360 avatar Jun 13 '18 07:06 euphoria360

80

smaznet avatar Jun 13 '18 07:06 smaznet

@smaznet Sorry, but in this case (when cloudflare icon in A record settings is grey) cloudflare is just DNS service, and IP is not hided. I'm right? Which meaning has cloudflare usage in this case? What difference in comparison with any deffrent DNS service?

nikita-bondarenko1 avatar Jun 14 '18 09:06 nikita-bondarenko1

@smaznet. Yes, you are right. Grey means cloud proxy off. And its simply a dns management panel (which is still a very good one). The whole point of Cloudflare is it's CDN which is based on proxy.

And still, I can't run my MTPROXY server behind Cloudflare proxy.

euphoria360 avatar Jun 14 '18 10:06 euphoria360

So, I don't think is possible to use cloudflare proxy, because it working only with http/s. MTProxy is not http/s.

nikita-bondarenko1 avatar Jun 14 '18 11:06 nikita-bondarenko1

It just makes no sense. even if it was possible, I doubt Cloudflare would be happy about that.

stek29 avatar Jun 16 '18 09:06 stek29

@stek29 why not!? Telegram itself used similar method for Russia.

euphoria360 avatar Jun 16 '18 10:06 euphoria360

@euphoria360 because Cloudflare CDNs are not made just for proxying, but for caching too. And afaik telegram did not use Cloudflare CDNs for russia

stek29 avatar Jun 16 '18 10:06 stek29

You can install Cloudflare DNS client on your phone

Android: https://play.google.com/store/apps/details?id=com.cloudflare.onedotonedotonedotone

iOS: https://itunes.apple.com/us/app/1-1-1-1-faster-internet/id1423538627

It can help if your domain [not IP(!)] blocked by ISP DPI

See samples here: https://t.me/DigitalResistanceProxyChannel/2874

Telegram Desktop not needed 1.1.1.1, it has built-in secure resolver lib.

iqdoctor avatar Jan 30 '19 19:01 iqdoctor

Thanks I love you 💗🌷💗🌷💗🌷💗🌷

در چهارشنبه ۳۰ ژانویهٔ ۲۰۱۹،‏ ۲۳:۲۹ DrProxyProSupport < [email protected] نوشت:

You can install Cloudflare DNS client on your phone

Android: https://play.google.com/store/apps/details?id=com.cloudflare.onedotonedotonedotone

iOS: https://itunes.apple.com/us/app/1-1-1-1-faster-internet/id1423538627

It can help if your domain [not IP(!)] blocked by ISP DPI

See samples here: https://t.me/DigitalResistanceProxyChannel/2874

Telegram Desktop not needed 1.1.1.1, it has built-in secure resolver lib.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TelegramMessenger/MTProxy/issues/116#issuecomment-459087347, or mute the thread https://github.com/notifications/unsubscribe-auth/Asyq360NqQ_LWRfTvlSEPZ2On_Gezl0Fks5vIfm5gaJpZM4Uh20x .

onikethem avatar Jan 30 '19 20:01 onikethem

My channel T.me/MTproto_iran Plz help me i'm from iran

در چهارشنبه ۳۰ ژانویهٔ ۲۰۱۹،‏ ۲۳:۳۸ Mohammad Hossini <[email protected] نوشت:

Thanks I love you 💗🌷💗🌷💗🌷💗🌷

در چهارشنبه ۳۰ ژانویهٔ ۲۰۱۹،‏ ۲۳:۲۹ DrProxyProSupport < [email protected] نوشت:

You can install Cloudflare DNS client on your phone

Android: https://play.google.com/store/apps/details?id=com.cloudflare.onedotonedotonedotone

iOS: https://itunes.apple.com/us/app/1-1-1-1-faster-internet/id1423538627

It can help if your domain [not IP(!)] blocked by ISP DPI

See samples here: https://t.me/DigitalResistanceProxyChannel/2874

Telegram Desktop not needed 1.1.1.1, it has built-in secure resolver lib.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TelegramMessenger/MTProxy/issues/116#issuecomment-459087347, or mute the thread https://github.com/notifications/unsubscribe-auth/Asyq360NqQ_LWRfTvlSEPZ2On_Gezl0Fks5vIfm5gaJpZM4Uh20x .

onikethem avatar Jan 30 '19 20:01 onikethem