TG Connect – Connect with your local Environment

You are here:
< All Topics


A virtual private network (VPN) tunnel is a secure and encrypted connection established over a public network, typically the Internet, to enable secure communication between two or more private networks or devices. The purpose of creating a VPN tunnel is to provide a secure way to transmit data between these networks or devices, ensuring the confidentiality, integrity, and authenticity of the information being exchanged.

  • VPN tunnels use encryption protocols to secure data during transmission. Common encryption protocols include IPsec (Internet Protocol Security), SSL/TLS (Secure Sockets Layer/Transport Layer Security), and others.
  • Encryption ensures that even if unauthorized parties intercept the transmitted data, they cannot decipher it without the appropriate decryption key.


Step 1: Log in to the TestGrid portal with valid credentials.

  • Go to More Tools from the dashboard on the bottom left side of the screen.
  • Click on the TG Connect tool.
  • Then, download the executable file for your operating system, such as Windows, Mac, or Linux.




Step 2: Open the terminal: After downloading the executable, navigate to the executable directory by using ‘cd path_to_downloaded_executable_file’.


  • Then copy the code snippet based on your operating system and run it in your terminal to start a tunnel.



Step 3: You will get a message like “Connection established. Tunnelling started!”. You can see the proxy port. That proxy port, along with the local IP address of the server, will be used as a socks5 proxy on TestGrid devices and browsers to start tunneling.

  • Navigate to the Real Device Cloud and connect to the devices. Once the device is open, the TG Connect icon will appear in the bottom right corner.



Step 4: Enter the proxy port that you found on the terminal, then hit the relaunch button to see the “VPN Set Successfully” message in the top right corner.



Step 5: Now enter the URL in the Chrome browser of the local environment that you want to access.



Table of Contents