You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to connect to my vpn server through OutlineTunnel's OutlineVpn.shared.start(_ tunnelId: String, named name: String?, withTransport transportConfig: String) method. I don't know how to give tunnelId and transportConfig properly and I tried to pass some possible value into these params and everytime I got error code 6 (ErrorCode.vpnStartFailure). Here are my tried -
Tunnel Id as app bundle identifier and transportConfig as ss:// key,
let code = await OutlineVpn.shared.start("org.company.VPPN",named: "VPPN",withTransport: "ss://Y2hhY2hhMjAtaWV0Zi1wb2x5MTMwNTpaZFdaOVF2RmxiT09HcmVNb0UzQnE4@159.65.129.128:18814#Outline"))
Tunnel Id as app bundle identifier and transportConfig as json string.
let config = OutlineConfig(server: "159.65.129.128", server_port: 18814, local_port: 1080, password: "ZdWZ9QvFlbOOGreMoE3Bq8", method: "chacha20-ietf-poly1305", remarks: "Okay")
let code = await OutlineVpn.shared.start("org.company.VPPN",named: "VPPN",withTransport: config.toJson())
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I am new to iOS Outline lib.
I am trying to connect to my vpn server through OutlineTunnel's OutlineVpn.shared.start(_ tunnelId: String, named name: String?, withTransport transportConfig: String) method. I don't know how to give tunnelId and transportConfig properly and I tried to pass some possible value into these params and everytime I got error code 6 (ErrorCode.vpnStartFailure). Here are my tried -
Tunnel Id as app bundle identifier and transportConfig as ss:// key,
let code = await OutlineVpn.shared.start("org.company.VPPN",named: "VPPN",withTransport: "ss://Y2hhY2hhMjAtaWV0Zi1wb2x5MTMwNTpaZFdaOVF2RmxiT09HcmVNb0UzQnE4@159.65.129.128:18814#Outline"))
Tunnel Id as app bundle identifier and transportConfig as json string.
let config = OutlineConfig(server: "159.65.129.128", server_port: 18814, local_port: 1080, password: "ZdWZ9QvFlbOOGreMoE3Bq8", method: "chacha20-ietf-poly1305", remarks: "Okay")
let code = await OutlineVpn.shared.start("org.company.VPPN",named: "VPPN",withTransport: config.toJson())
Beta Was this translation helpful? Give feedback.
All reactions