How to use a VPN with Genymotion PaaS/Device Image?

How to use a VPN with Genymotion PaaS/Device Image?

It is possible to use a VPN with Genymotion PaaS (Device Image). Different methods exist depending on the use case.

With an Android VPN client

This method connects the instance Android OS directly to a VPN. OpenVPN will be used, but other VPN clients for Android could also be used. If an Android VPN client is not OpenVPN, the Android VPN client must allow VPN to be used only for specific applications.

> Important: The VPN client must be set to use VPN only to specific applications, otherwise your instance will no longer be accessible from the web, ssh or adb.

1. Install OpenVPN for Android from an APK file or Play Store 2. Setup your VPN connection. See OpenVPN official guide for details 3. Edit your VPN connection profile and slide to "ALLOWED APPS". Disable the option VPN is used for all apps but exclude selected 4. Select the desired applications to apply the VPN to 5. Connect to your VPN server

With a Cloud provider VPN gateway

Cloud providers provide methods and tools to connect their Virtual Private Cloud (VPC) to a VPN.