Connect to selected VPN (device.turn_on_vpn)
Declaration
device.turn_on_vpn()
Description
Try to connect to the currently selected VPN. If none selected, nothing happens
Note: This function is not very stable; on iOS 7 if VPN has no password set it may cause safe mode. Recommended to use the more stable VPN config module (vpnconf)
Example
device.turn_on_vpn()