From e4d4448c916a3dc541b553f3cd3bcc94c22b945c Mon Sep 17 00:00:00 2001 From: Juraj Hilje Date: Wed, 13 Sep 2023 11:47:12 +0200 Subject: [PATCH] feat: update V2RayConfig.swift --- IVPNClient/Models/V2Ray/V2RayConfig.swift | 1 + IVPNClient/Models/V2Ray/config.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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" } } ],