嘟嘟社区

gullo 装了mack-a脚本 套了CF 连不上网


本帖最后由 darkt 于 2021-12-20 14:04 编辑

gullo 小鸡 只有ipv6 IP

装了mack-a 一键脚本 ,安装了xray

套了CF 连不上网,但是伪装的域名可以打开

开了云朵和不开云朵网站都能打开

https://“v-2-r-a-y”.zpanda.xyz/


下面是nginx 配置:

  1.         server {
  2.                 listen 80;
  3.                 listen [::]:80;
  4.                 server_name “v-2-r-a-y”.zpanda.xyz;
  5.                 # shellcheck disable=SC2154
  6.                 return 301 https://“v-2-r-a-y”.zpanda.xyz${request_uri};
  7.         }
  8.         server {
  9.                         listen 127.0.0.1:31300;
  10.                         server_name _;
  11.                         return 403;
  12.         }
  13. server {
  14.         listen 127.0.0.1:31302 http2;
  15.         server_name “v-2-r-a-y”.zpanda.xyz;
  16.         root /usr/share/nginx/html;
  17.         location /s/ {
  18.                     add_header Content-Type text/plain;
  19.                     alias /etc/“v-2-r-a-y”-agent/subscribe/;
  20.     }
  21.     location /lengxigrpc {
  22.                 client_max_body_size 0;
  23. #                keepalive_time 1071906480m;
  24.                 keepalive_requests 4294967296;
  25.                 client_body_timeout 1071906480m;
  26.                 send_timeout 1071906480m;
  27.                 lingering_close always;
  28.                 grpc_read_timeout 1071906480m;
  29.                 grpc_send_timeout 1071906480m;
  30.                 grpc_pass grpc://127.0.0.1:31301;
  31.         }
  32.         location /lengxitrojangrpc {
  33.                 client_max_body_size 0;
  34.                 # keepalive_time 1071906480m;
  35.                 keepalive_requests 4294967296;
  36.                 client_body_timeout 1071906480m;
  37.                 send_timeout 1071906480m;
  38.                 lingering_close always;
  39.                 grpc_read_timeout 1071906480m;
  40.                 grpc_send_timeout 1071906480m;
  41.                 grpc_pass grpc://127.0.0.1:31304;
  42.         }
  43. }
  44. server {
  45.         listen 127.0.0.1:31300;
  46.         server_name “v-2-r-a-y”.zpanda.xyz;
  47.         root /usr/share/nginx/html;
  48.         location /s/ {
  49.                 add_header Content-Type text/plain;
  50.                 alias /etc/“v-2-r-a-y”-agent/subscribe/;
  51.         }
  52.         location / {
  53.                 add_header Strict-Transport-Security "max-age=15552000; preload" always;
  54.         }
  55. }

复制代码

mack-a 脚本里我一开始没选自选IP ,刚刚又装了一遍选了自选开始貌似没区别,v2 还是连不上,下面是报错信息:

  1. 2021/12/20 04:45:13 [Info] [103879417] app/proxyman/inbound: connection ends > proxy/vless/inbound: fallback ends > context canceled
  2. 2021/12/20 04:45:14 [Info] [1699445105] proxy/vless/inbound: firstLen = 390
  3. 2021/12/20 04:45:14 [Info] [1699445105] proxy/vless/inbound: fallback starts > proxy/vless/encoding: invalid request version
  4. 2021/12/20 04:45:14 [Info] [1699445105] proxy/vless/inbound: realName = v2.zpanda.xyz
  5. 2021/12/20 04:45:14 [Info] [1699445105] proxy/vless/inbound: realAlpn = http/1.1
  6. 2021/12/20 04:45:14 [Info] [1699445105] proxy/vless/inbound: realPath = /uupjvws
  7. 2021/12/20 04:45:14 [Info] transport/internet/websocket: failed to convert to WebSocket connection > websocket: the client is not using the websocket protocol: ‘upgrade’ token not found in ‘Connection’ header
  8. 2021/12/20 04:45:14 [Info] [1046914741] app/proxyman/inbound: connection ends > proxy/vless/inbound: fallback ends > context canceled
  9. 2021/12/20 04:45:16 [Info] [1115593426] app/proxyman/inbound: connection ends > proxy/vless/inbound: fallback ends > context canceled
  10. 2021/12/20 04:45:19 [Info] [1699445105] app/proxyman/inbound: connection ends > proxy/vless/inbound: fallback ends > context canceled

复制代码

错误日志:

  1. 2021/12/20 14:02:34 [Info] [726356604] app/proxyman/inbound: connection ends > proxy/trojan: fallback ends > context canceled
  2. 2021/12/20 14:02:35 [Info] [4064435560] app/proxyman/inbound: connection ends > proxy/trojan: fallback ends > context canceled
  3. 2021/12/20 14:02:35 [Info] [3792004864] app/proxyman/inbound: connection ends > proxy/trojan: fallback ends > context canceled
  4. 2021/12/20 14:02:35 [Info] [840702595] app/proxyman/inbound: connection ends > proxy/vless/inbound: fallback ends > context canceled
  5. 2021/12/20 14:02:36 [Info] [134116080] app/proxyman/inbound: connection ends > proxy/vless/inbound: fallback ends > context canceled
  6. 2021/12/20 14:02:36 [Info] [9652253] app/proxyman/inbound: connection ends > proxy/vless/inbound: fallback ends > context canceled
  7. 2021/12/20 14:03:18 [Info] [1353847066] proxy/vless/inbound: firstLen = 647
  8. 2021/12/20 14:03:18 [Info] [1353847066] proxy/vless/inbound: fallback starts > proxy/vless/encoding: invalid request version
  9. 2021/12/20 14:03:18 [Info] [1353847066] proxy/vless/inbound: realName = “v-2-r-a-y”.zpanda.xyz
  10. 2021/12/20 14:03:18 [Info] [1353847066] proxy/vless/inbound: realAlpn = http/1.1
  11. 2021/12/20 14:03:18 [Info] [1353847066] proxy/vless/inbound: realPath = /img/icons/favicon-32×32.png
  12. 2021/12/20 14:03:18 [Info] [596330510] proxy/trojan: firstLen = 647
  13. 2021/12/20 14:03:18 [Info] [596330510] proxy/trojan: fallback starts > proxy/trojan: not trojan protocol
  14. 2021/12/20 14:03:32 [Info] [3022289542] proxy/vless/inbound: firstLen = 401
  15. 2021/12/20 14:03:32 [Info] [3022289542] proxy/vless/inbound: fallback starts > proxy/vless/encoding: invalid request version
  16. 2021/12/20 14:03:32 [Info] [3022289542] proxy/vless/inbound: realName = “v-2-r-a-y”.zpanda.xyz
  17. 2021/12/20 14:03:32 [Info] [3022289542] proxy/vless/inbound: realAlpn = http/1.1
  18. 2021/12/20 14:03:32 [Info] [3022289542] proxy/vless/inbound: realPath = /lengxivws
  19. 2021/12/20 14:03:32 [Info] transport/internet/websocket: failed to convert to WebSocket connection > websocket: the client is not using the websocket protocol: ‘upgrade’ token not found in ‘Connection’ header
  20. 2021/12/20 14:03:33 [Info] [3021218080] proxy/vless/inbound: firstLen = 401
  21. 2021/12/20 14:03:33 [Info] [3021218080] proxy/vless/inbound: fallback starts > proxy/vless/encoding: invalid request version
  22. 2021/12/20 14:03:33 [Info] [3021218080] proxy/vless/inbound: realName = “v-2-r-a-y”.zpanda.xyz
  23. 2021/12/20 14:03:33 [Info] [3021218080] proxy/vless/inbound: realAlpn = http/1.1
  24. 2021/12/20 14:03:33 [Info] [3021218080] proxy/vless/inbound: realPath = /lengxivws
  25. 2021/12/20 14:03:33 [Info] transport/internet/websocket: failed to convert to WebSocket connection > websocket: the client is not using the websocket protocol: ‘upgrade’ token not found in ‘Connection’ header
  26. 2021/12/20 14:03:34 [Info] transport/internet/websocket: failed to convert to WebSocket connection > websocket: the client is not using the websocket protocol: ‘upgrade’ token not found in ‘Connection’ header
  27. 2021/12/20 14:03:36 [Info] [1703912455] proxy/vless/inbound: firstLen = 401
  28. 2021/12/20 14:03:36 [Info] [1703912455] proxy/vless/inbound: fallback starts > proxy/vless/encoding: invalid request version
  29. 2021/12/20 14:03:36 [Info] [1703912455] proxy/vless/inbound: realName = “v-2-r-a-y”.zpanda.xyz
  30. 2021/12/20 14:03:36 [Info] [1703912455] proxy/vless/inbound: realAlpn = http/1.1
  31. 2021/12/20 14:03:36 [Info] [1703912455] proxy/vless/inbound: realPath = /lengxivws
  32. 2021/12/20 14:03:36 [Info] transport/internet/websocket: failed to convert to WebSocket connection > websocket: the client is not using the websocket protocol: ‘upgrade’ token not found in ‘Connection’ header
  33. 2021/12/20 14:03:38 [Info] [3021218080] app/proxyman/inbound: connection ends > proxy/vless/inbound: fallback ends > context canceled
  34. 2021/12/20 14:03:39 [Info] [3022289542] app/proxyman/inbound: connection ends > proxy/vless/inbound: fallback ends > context canceled
  35. 2021/12/20 14:03:41 [Info] [1703912455] app/proxyman/inbound: connection ends > proxy/vless/inbound: fallback ends > context canceled

复制代码

纯ipv6的除了德鸡其他的玩不明白,所以没上
这个脚本有问题,要套CF需要修改一个设置,我之前用的这个脚本就是这个问题

colla 发表于 2021-12-20 13:57
纯ipv6的除了德鸡其他的玩不明白,所以没上

搞了一通宵,还没解决 哎,现在困死了

烟火 发表于 2021-12-20 14:00
这个脚本有问题,要套CF需要修改一个设置,我之前用的这个脚本就是这个问题 …

大佬 指点下 怎么搞

darkt 发表于 2021-12-20 14:00
搞了一通宵,还没解决 哎,现在困死了

所以我干脆不折腾哈哈

darkt 发表于 2021-12-20 14:01
大佬 指点下 怎么搞

/etc/“v-2-r-a-y”-agent/“v-2-r-a-y”/conf/05_VMess_WS_inbounds.json

{
"inbounds":[
{
  "listen": "127.0.0.1",
  "port": 31299,
  "protocol": "vmess",
  "tag":"VMessWS",
  "settings": {
    "clients": [

其中 "listen": "127.0.0.1",这一行删了

不会配置就别用Nginx
  1. bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-“v-2-r-a-y”/master/install-release.sh)

复制代码

重来都是手动安装,手动自己配置,用一键脚本我好像就没有成功过。早上入了个德国的,5分钟就自己配完了。套的CF,还行。留着当备用了。

烟火 发表于 2021-12-20 14:05
/etc/“v-2-r-a-y”-agent/“v-2-r-a-y”/conf/05_VMess_WS_inbounds.json

{

"listen": "127.0.0.1",  是这行么,删了 还是连不上,显示timeout
换成自选IP 测试真链接提示超时