Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Reality protocol does not support CDN, so what can we do to use Reality in Iran where we need to use CDN to obtain good speed? #1717

Closed
us254 opened this issue Feb 27, 2023 · 5 comments

Comments

@us254
Copy link

us254 commented Feb 27, 2023

The Reality protocol is not compatible with CDN, which can result in slower speeds when used in locations such as Iran where CDN is necessary for optimal performance. Given this limitation, what alternative options or solutions can be implemented to ensure that Reality can still be used effectively in Iran without sacrificing speed?

@wy580477
Copy link

You should try hysteria, it's optimized for lossy and unstable connections.

@us254
Copy link
Author

us254 commented Feb 27, 2023

You should try hysteria, it's optimized for lossy and unstable connections.

Are there any options besides employing the hysteria protocol? Specifically, how do individuals in China effectively utilize the reality protocol to circumvent the GFW? Could the sluggish line quality be attributed to the German origin of my virtual private server or is it due to the dissimilarities between the Iranian and Chinese firewalls and their impact on the TCP protocol?

@computerscot
Copy link
Contributor

There are several reports of Iran deliberately throttling connections to proxy servers.

It could be that Iran's censors view a Hetzner VPS as likely to be proxy server, regardless of the protocol used.

Or it could be network metrics that make it look like a proxy server. If all your traffic goes to one IP address, and you are the only person sending traffic to that IP address, it looks suspiciously like a proxy server.

So you could try using a non-obvious VPS provider, and you could try only using your proxy server intermittently, but there are no guarantees this would work.

@us254 us254 changed the title TCP is slow in Iran and we need to use ws through a CDN to get good speed, but Reality doesn't support ws, what should we do to use Reality? The Reality protocol does not support CDN, so what can we do to use Reality in Iran where we need to use CDN to obtain good speed? Mar 9, 2023
@DanyTPG
Copy link

DanyTPG commented Mar 10, 2023

I can confirm that Iran is actively throttling TCP connections to digitalocean servers (could also be true for other well known providers). I tried MANY droplets from all over europe and ALL of them were throttled to about 50-100 KBps download rate. I used hysteria and the restriction seemed to not exist for UDP and it worked flawlessly.

@maliohammad
Copy link

You should try hysteria, it's optimized for lossy and unstable connections.

Are there any options besides employing the hysteria protocol? Specifically, how do individuals in China effectively utilize the reality protocol to circumvent the GFW? Could the sluggish line quality be attributed to the German origin of my virtual private server or is it due to the dissimilarities between the Iranian and Chinese firewalls and their impact on the TCP protocol?

What ISP are you using? For me hysteria didn't work at all (irancell)

@us254 us254 closed this as completed May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants