Migrating the sing-box configuration to 1.10.0

https://sing-box.sagernet.org/migration/#tun-address-fields-are-merged
This commit is contained in:
2dust
2024-11-10 17:30:03 +08:00
parent d04cc53152
commit 9e84de8e76
3 changed files with 6 additions and 5 deletions
@@ -558,7 +558,7 @@ namespace ServiceLib.Services.CoreConfig
//tunInbound.sniff_override_destination = _config.inbound[0].routeOnly ? false : _config.inbound[0].sniffingEnabled;
if (_config.TunModeItem.EnableIPv6Address == false)
{
tunInbound.inet6_address = null;
tunInbound.address = ["172.18.0.1/30"];
}
singboxConfig.inbounds.Add(tunInbound);