iOS Vpn连接

时间:2016-10-29 13:28:45

标签: ios objective-c vpn nevpnmanager

NEVPNProtocolIKEv2 *sec = [[NEVPNProtocolIKEv2 alloc] init];

sec.serverAddress = @"domain.com";
sec.remoteIdentifier = @"domain.com";
sec.username = @"username";
sec.localIdentifier = @"username";
sec.authenticationMethod = NEVPNIKEAuthenticationMethodSharedSecret;

如何指定用户密码?

服务器密码类型:EAP

0 个答案:

没有答案