mtprotoproxy icon indicating copy to clipboard operation
mtprotoproxy copied to clipboard

URL instead of IP + Cloudflare

Open apair opened this issue 6 years ago • 8 comments

Hey, Is it possible to add pointed URL like https://example.com instead of IP so the generated URL become like : tg://proxy?server=https://example.com &port=999&secret=dd14d99479xxxxxxxxxx98aaa332b6b48f instead of : tg://proxy?server=115.xxx.xxx.487&port=999&secret=dd14d99479xxxxxxxxxx98aaa332b6b48f

apair avatar Apr 26 '20 15:04 apair

yes its possible you can use domain

surbiks avatar Apr 28 '20 08:04 surbiks

yes its possible you can use domain

I have tried but it does not work. It gets a timeout.

apair avatar Apr 28 '20 08:04 apair

use domain without http or https like sample.com tg://proxy?server=example.com&port=999&secret=dd14d99479xxxxxxxxxx98aaa332b6b48f

surbiks avatar Apr 28 '20 10:04 surbiks

Now it works! many thanks

apair avatar Apr 28 '20 10:04 apair

@golil Do you have any idea whether possible to goes behind Cloudflare or not?

apair avatar Apr 28 '20 11:04 apair

@golil Do you have any idea whether possible to goes behind Cloudflare or not?

No, sorry :(

surbiks avatar Apr 28 '20 12:04 surbiks

Its not possible to get behind cloudflare I have tested many different approaches

erfantkerfan avatar Apr 29 '20 16:04 erfantkerfan

Its not possible to get behind cloudflare I have tested many different approaches

I've just found this post on Cloudflare forum that may help:

And in summary, Cloudflare does not allow you to pass mtproro data.

apair avatar Apr 30 '20 02:04 apair