I use the NETunnelProvider Protocol to configure VPN, the "test" set by server Address, and save the configuration to see in the settings - VPN - my configuration:
Type:test
Server:test
When the VPN connection is successful, check Settings - VPN - My configuration:
Type:test
Server:test
Server IP Adress: Real Server IP
Assigned IP Adress: Intranet IP
Connect Time: 0:07
This is how I created the configuration:
NETunnelProvider Manager * Manager = [[NETunnelProvider Manager alloc] init];
NETunnelProvider Protocol * conf = [[NETunnelProvider Protocol alloc] init];
Conf. serverAddress = @ "Qiyou Tour Accelerator";
Manager. protocolConfiguration = conf;
Manager.localizedDescription = @ Accelerator for Odd Tour;
My question is: How to set Server IP Adress as a fixed fake ip?