HirbodBehnam / Shadowsocks-Cloak-Installer

A one-key script to setup Cloak plugin with Shadowsocks on your server
GNU General Public License v3.0
408 stars 85 forks source link

Question #50

Open cursedwraith opened 1 year ago

cursedwraith commented 1 year ago

Hi,

i have been using Nginx + Shadowsocks over v2ray behind ArvanCloud CDN to make it work from Iran. is it possible to make this work by putting it behind CDN ? Do i need a bridge server located in iran as well to make this work ? how easily is this method detected in iran ?

Thanks

cursedwraith commented 1 year ago

i tried cdn it did not work. im not sure if it works if someone from iran directly connects to server.... assuming it will work how long until the server ip gets blocked.

eazo4 commented 1 year ago

idk about ArvanCloud but on Cloudflare you have to make it so cloak can do a http connection first by changing Cloudflare ssl/tls to Flexible then setup server and client just like how wiki says (you dont need to set CDNOriginHost for Cloudflare)

in iran they banned some of Cloudflare's cdn ips so you have to make multiple accounts until you can ping your domain i managed to get one on my fourth account (i made each account with a different ip and email just to make sure)

it works really great with shadowsocks and i can get +95% of my internet speed but i cant make it work with openvpn it connects at first but after 2 min it tries to use dns and it cant and gives me this error

Failed to establish new connections to remote: dial tcp: lookup mydomain.com on 127.0.0.53:53: read udp 127.0.0.1:42342->127.0.0.53:53: i/o timeout

@HirbodBehnam can you help me on this please?