全球主机交流论坛

标题: 求教,sing-box+naive,开启UDP [打印本页]

作者: bai3    时间: 2023-7-7 23:32
标题: 求教,sing-box+naive,开启UDP
小白求教,有大佬知道sing-box+naive,怎样开启UDP?不开用Google voice打电话没声音啊。
作者: Fightlee    时间: 2023-7-7 23:36
你不都上singbox了吗
再拿singbox整个hysteria不就行了
作者: bai3    时间: 2023-7-8 07:33
我这除了naive,其他协议IP秒封,不敢用啊
作者: hostvps    时间: 2023-7-8 07:55
你用sing-box的客户端就可以
作者: 深海空间    时间: 2023-7-8 11:33
我好像记得naive不支持udp
作者: SKIDROW    时间: 2023-7-8 12:43
  1. https://sing-box.sagernet.org/configuration/shared/udp-over-tcp/
复制代码

看你的客户端支不支持
作者: bai3    时间: 2023-7-8 19:05
谢谢各位大佬
作者: bai3    时间: 2023-7-8 19:06
配置一直不成功,请问服务器端是下面的代码,安卓sing-box客户端该怎样配置啊?
{
  "log": {
    "level": "warn",
    "timestamp": true
  },
  "inbounds": [
    {
      "type": "naive",
      "tag": "naive-in",
      "network": "tcp",  
      "listen": "::",
      "listen_port": 2345,   //监听端口
      "tcp_fast_open": true,
      "sniff": true,
      "sniff_override_destination": true,
      "users": [
        {
          "username": "xiao001",   //用户名
          "password": "xiao123"     //密码
        }
      ],
      "tls": {
        "enabled": true,
        "server_name": "mydomain.com",   //你的域名
        "acme": {
          "domain": [
            "mydomain.com"   //你的域名
          ],
          "data_directory": "/usr/local/etc/sing-box",
          "email": "[email protected]",
          "provider": "letsencrypt"
        }
      }
    }
  ],
  "outbounds": [
    {
      "type": "direct",
      "tag": "direct"
    },   
    {
      "type": "block",
      "tag": "block"
    }
  ]
}




欢迎光临 全球主机交流论坛 (https://443502.xyz/) Powered by Discuz! X3.4