chika0801 / sing-box-examples

sing-box 配置示例
https://github.com/SagerNet/sing-box
1.8k stars 299 forks source link

这个配置有DNS泄露,和HY2的一样 #53

Closed do02fw closed 1 year ago

do02fw commented 1 year ago

https://github.com/chika0801/sing-box-examples/tree/main/Shadowsocks

chika0801 commented 1 year ago

是的,示例故意是最小化原则。

do02fw commented 1 year ago

有没有办法解决dns泄露

chika0801 commented 1 year ago

https://github.com/chika0801/sing-box-examples/tree/main/Tun

用这里的配置,去那些检测网站测不出来泄露

do02fw commented 1 year ago

这样tun模式就没有泄露了吗? `

{ "inbounds": [

    {
        "type": "shadowsocks",
        "listen": "::",
        "listen_port":444,
        "method": "2022-blake3-aes-256-gcm",
        "password": ""
    }
],

"outbounds": [
    {
        "type": "direct",
        "tag": "direct"
    },
    {
        "type": "block",
        "tag": "block"
    }
]

}

`

chika0801 commented 1 year ago

你发的是一个服务端配置,服务端在VPS上通常不开TUN模式。

do02fw commented 1 year ago

BUG太多了,看这里,我已经气的不用了,https://github.com/MatsuriDayo/nekoray/issues/900

do02fw commented 1 year ago

tun模式不如openvpn和wireguard,这两个tun是最好的,没有任何bug