diff --git a/IVPNClient/Models/V2Ray/V2RayConfig.swift b/IVPNClient/Models/V2Ray/V2RayConfig.swift index 0d5f6b488..72acc0039 100644 --- a/IVPNClient/Models/V2Ray/V2RayConfig.swift +++ b/IVPNClient/Models/V2Ray/V2RayConfig.swift @@ -36,6 +36,7 @@ struct V2RayConfig: Codable { } struct Inbound: Codable { + var tag: String var port: String var `protocol`: String var settings: Settings diff --git a/IVPNClient/Models/V2Ray/config.json b/IVPNClient/Models/V2Ray/config.json index b37e7856c..a000eca1d 100644 --- a/IVPNClient/Models/V2Ray/config.json +++ b/IVPNClient/Models/V2Ray/config.json @@ -4,12 +4,13 @@ }, "inbounds":[ { + "tag":"vpn", "port":"16661", "protocol":"dokodemo-door", "settings":{ "address":"", "port":0, - "network":"udp" + "network":"udp,tcp" } } ],