Closed bart3nder closed 10 months ago
"listen": "[::]",
"listen": "::1",
This is the answer given by the asking AI, you tested it.
Hello again, Sorry for late response. Seems the second one doesn't give syntax error, but when I use it I can no longer connect to server; like:
+0000 2023-09-13 09:36:13 INFO router: loaded geosite database: 1391 codes
+0000 2023-09-13 09:36:13 INFO router: updated default interface eth0, index 2
+0000 2023-09-13 09:36:13 INFO inbound/tuic[tuic-in]: udp server started at [::1]:443
+0000 2023-09-13 09:36:13 INFO sing-box started (0.77s)
And nothing will happen. Once I change to "listen": "::",
, I can connect via ipv6 as before. Why is this happening? How can I fix it? My server config:
"inbounds": [
{
"type": "tuic",
"tag": "tuic-in",
"listen": "::1",
"listen_port": 8448,
"users": [
{
"name": "beta",
"uuid": "beta",
"password": "beta"
}
],
"congestion_control": "bbr",
"auth_timeout": "4s",
"zero_rtt_handshake": false,
"heartbeat": "6s",
"tls": {
"enabled": true,
"alpn": [
"h3",
"spdy/3.1"
],
"certificate_path": "MYREALCERTPATH",
"key_path": "MYREALKEYPATH"
}
}
],
I suggest you go to sing-box's github and ask a question. I can't help you any further.
Right, Thanks for your help!
Hi! Thanks for the examples. As the title says, In TUIC server config, how can I only listen on ipv6? with
"listen": "::",
, I can still connect to server with my ipv4 too and I want the server only be accessible via ipv6.