Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run app in iOS simulator with VPN connection

Tags:

xcode

ios

vpn

I want to run my app in iOS simulator with VPN.

My mac is connected to a VPN network, i want to run my app in simulator, is this possible.

Please help.

like image 515
Ashwani Avatar asked Apr 26 '15 16:04

Ashwani


2 Answers

If your VPN is "L2TP over IPSec", just need to make sure you've checked "Send all traffic over VPN connection" in System Preferences / Network / YourVPN / Advanced:

enter image description here

like image 103
Kjuly Avatar answered Oct 04 '22 02:10

Kjuly


The answered marked as correct works but you need to start/restart the simulator once you are successfully connected to the VPN.

I make this comment in order to avoid what happened to me. I spend a day trying to making vodo magic and at the end the solution was just restarting the simulator.

like image 25
FedeH Avatar answered Oct 04 '22 02:10

FedeH