Rename tun tag

This commit is contained in:
DHR60 2026-05-17 17:54:49 +08:00
parent 1412036b10
commit c703aba391
3 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
{ {
"tag": "tun-in", "tag": "tun",
"protocol": "tun", "protocol": "tun",
"settings": { "settings": {
"name": "xray_tun", "name": "xray_tun",

View file

@ -1,6 +1,6 @@
{ {
"type": "tun", "type": "tun",
"tag": "tun-in", "tag": "tun",
"interface_name": "singbox_tun", "interface_name": "singbox_tun",
"address": [ "address": [
"172.18.0.1/30", "172.18.0.1/30",

View file

@ -27,7 +27,7 @@ public partial class CoreConfigV2rayService
}); });
_coreConfig.routing.rules.Add(new() _coreConfig.routing.rules.Add(new()
{ {
inboundTag = ["tun-in"], inboundTag = ["tun"],
port = "53", port = "53",
outboundTag = Global.DnsOutboundTag, outboundTag = Global.DnsOutboundTag,
}); });