mirror of
https://github.com/2dust/v2rayN.git
synced 2026-05-30 01:34:08 +00:00
Rename tun tag
This commit is contained in:
parent
1412036b10
commit
c703aba391
3 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"tag": "tun-in",
|
"tag": "tun",
|
||||||
"protocol": "tun",
|
"protocol": "tun",
|
||||||
"settings": {
|
"settings": {
|
||||||
"name": "xray_tun",
|
"name": "xray_tun",
|
||||||
|
|
|
||||||
|
|
@ -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",
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue