Proxy/VPN and your Internal Network
Sometimes we need to run tests with non-public resources like staging/non-prod/testing environment which not available from the Internet.
In this case, we provide several solutions:
IP Whitelisting#
Concept#
The whitelisting of an IP address is a cybersecurity technique that gives IT administrators control over who can access systems and resources.
IP whitelisting (allowlisting) involves creating a list of trusted IP addresses, assigning them to a user or group of users as a unique identifier, and permitting the IP address on the target server only.
As a result, any system inside the LAN, datacenter or third-party SaaS application can be set up to be accessed.
How to#
- Familiarize with a list of Emcee's IP addresses below
- Allow this IP Addresses access to your network
- That's it. Now you can run your test in our cloud with your non-public environment
CIDR ranges our services use to access your publicly exposed api:
Proxy/VPN/Tunneling#
Warning
Currently, this technology is only available for Android
iOS support will be added soon
Concept#
We are using open source tool FRP as a proxy provider.
This tool consists of two separate parts "Server" and "Client".
Server is installed in our cloud environment and waiting for clients to connect.
You need to install the Client in your internal environment. The setup is secure because you control the access that the Client machine has in the network.
Once the Client starts, it immediately connects to the Server on our side to establish a tunnel. And once established, our testing environment can access the system under test through that tunnel.
It is advised that the Client is only given access to the resources it needs access to in order to execute the test (usually a set of web servers).
Is it safe for me?
Yes, it's perfectly safe for two reasons:
-
You have full control for Client side connection and settings and can restrict this accecc as much as you want.
-
Your proxy connection is only available for your tests runs. No one from the outside can use it accidentally or intentionally.
How to turn on#
- Download and extract the latest FRP version for your Operating System
- Create a config.ini file using the following template:
config.ini
[common] server_addr = proxy.emcee.cloud server_port = 443 tls_enable = true protocol = wss [http_proxy_YOUR_ORGANISATION_NAME] type = tcp remote_port = {YOUR_PORT} plugin = http_proxy
- Change
YOUR_ORGANISATION_NAME
to your organisation or emcee account name - Change
{YOUR_PORT}
to one from the range 40000-50000
- Change
- Run client by following command
- Go to Emcee Cloud Profile
- Scroll to the bottom
- Set "Enable proxy" to "On"
- Add host proxy.emcee.cloud
- Add port which you set in step 3
- Click "Save" button
10.That's it. Now you can run your test in our cloud with your non-public environment
How to turn off#
- Go to Emcee Cloud Profile
- Scroll to the bottom
- Set "Enable proxy" to "Off"