CloudFlare settings
You can configure OpenText Functional Testing Lab so that you can use OpenText cloud devices and cloud browsers for local testing of apps hosted on a private network.
Before you start
To enable cloud browsers and devices to access apps on a private network, you require a Cloudflare account.
-
Create an account in Cloudflare.
-
Set up and configure Cloudflare as follows:
-
Add your site to Cloudflare.
The domain can be purchased from Cloudflare or any other domain registrars. -
Create a Cloudflare Access service token.
-
Add a self-hosted application to Cloudflare Access.
The subdomain must not contain a period. -
Add a policy to determine who can access your application.
Select Service Auth for the Action when adding the policy. In the Include section, select the service token that you created earlier. -
Create a Cloudflare tunnel and connect an application.
When configuring the public hostname for the tunnel, select TCP for the service type. The public hostname must be the same as the application added to Cloudflare Access. -
Install the Cloudflared connector on a machine that can access your private network.
-
For more details on how to perform these steps, see the Cloudflare documentation.
Integrate with Cloudflare
-
In Administration Settings, enable the Cloudflare integration by setting Enable Cloudflare Integration to Yes.
-
Click + ADD SERVER.
-
Provide the following information.
Field Details Private server URL The URL of the private service that needs to be accessible.
This is the same as the URL that you specified for the service in the Cloudflare public hostname configuration tab.
Use the format <hostname/IP address>:<port>. Localhost and other loopback IP addresses are not supported for the URL of the private service. A hostname without a domain name, for example .com, is also not supported.
Public server URL The public hostname that you configured in Cloudflare. Service token ID The Cloudflare service token ID. Service token secret The Cloudflare service token secret.
-
If multiple private services are being used, for example authentication or analytics, configure all of the private servers. To add and configure additional private services, click + ADD SERVER.
- Note:
-
When using device Wi-Fi, deactivate any proxies configured on the device.
-
Accessing a private server through a proxy is not supported.
-
Private servers using the HTTP protocol are not supported on the Firefox browser.
-
The integration with Cloudflare is supported only for private and public devices hosted by OpenText.
After the integration is enabled
When you open an OpenText hosted device for the first time, a VPN connection notification is displayed and automatically accepted.
When there is an active VPN connection, a Key icon is displayed at the top of the device screen on Android devices, and a VPN icon on iOS devices. You may need to swipe down to see the VPN icon on an iOS device.
See also: