5

vless + ng + tls 端口一直被封,请问各位大佬 ip 和域名需要一起换吗

 1 year ago
source link: https://www.v2ex.com/t/890630
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  问与答

vless + ng + tls 端口一直被封,请问各位大佬 ip 和域名需要一起换吗

  JaaaaackZheng · 1 小时 34 分钟前 · 334 次点击

前天换了 ip 和端口,今天又被封,难受啊,各位大佬有什么解决方案吗。今天套了 cloudflare ,这次不知道能撑多久

17 条回复    2022-10-28 12:33:53 +08:00

zqqc      1 小时 21 分钟前

client 到国外 cdn 这段去掉 tls 改成 80 端口就行了,或者可以试试 naiveproxy

mmm159357456      1 小时 19 分钟前

有上瓦工的钱还不如直接鸡场

op351      1 小时 12 分钟前

不要用 tls用 ws 先顶着

FightPig      1 小时 4 分钟前

我的端口也是一直在封,好在 ip 还没事

ye4tar      1 小时 3 分钟前

##v2ray
{ "log":{ "access":"/var/log/v2ray/access.log", "error":"/var/log/v2ray/error.log", "loglevel":"warning" }, "inbounds":[ { "port":YOUR_PORT_HERE, "listen":"127.0.0.1", "protocol":"vmess", "settings":{ "clients":[ { "id":"YOUR_CLIENT_ID_HERE", "alterId":0, "level":1 } ] }, "streamSettings":{ "network":"ws", "wsSettings":{ "path":"/YOUR_PATH_HERE" } } } ], "outbounds":[ { "protocol":"freedom", "settings":{} } ] }


##nginx
server{ listen443ssl; server_nameYOUR_DOMAIN; ssl_certificate/etc/letsencrypt/live/YOUR_DOMAIN/fullchain.pem; ssl_certificate_key/etc/letsencrypt/live/YOUR_DOMAIN/privkey.pem; include/etc/letsencrypt/options-ssl-nginx.conf; ssl_dhparam/etc/letsencrypt/ssl-dhparams.pem; location/{ indexindex.html; } location/upload{ proxy_redirectoff; proxy_passhttp://127.0.0.1:YOUR_PORT_HERE; proxy_http_version1.1; proxy_set_headerUpgrade$http_upgrade; proxy_set_headerConnection"upgrade"; proxy_read_timeout15s; } }


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK