{"id":3002,"date":"2024-03-13T11:56:24","date_gmt":"2024-03-13T11:56:24","guid":{"rendered":"https:\/\/testgrid.io\/docs\/?post_type=epkb_post_type_1&#038;p=3002"},"modified":"2026-05-06T18:24:44","modified_gmt":"2026-05-06T18:24:44","slug":"tg-connect-connect-with-your-local-environment","status":"publish","type":"epkb_post_type_1","link":"https:\/\/testgrid.io\/docs\/document\/tg-connect-securely-connect-your-local-environment-using-tg-tunnel\/","title":{"rendered":"TG Connect: Securely Connect Your Local Environment Using TG Tunnel"},"content":{"rendered":"<h5>Overview<\/h5>\n<p>A virtual private network (VPN) tunnel is a secure and encrypted connection established over a public network, typically the Internet. It enables secure communication between two or more private networks or devices. The primary purpose of a VPN tunnel is to provide a secure method for transmitting data between these networks or devices, ensuring the confidentiality, integrity, and authenticity of the information exchanged.<\/p>\n<p>VPN tunnels utilize encryption protocols to secure data during transmission. Common encryption protocols include:<\/p>\n<ul>\n<li><strong>IPsec (Internet Protocol Security)<\/strong>: Provides secure communication by authenticating and encrypting each IP packet in a communication session.<\/li>\n<li><strong>SSL\/TLS (Secure Sockets Layer\/Transport Layer Security)<\/strong>: Encrypts data at the transport layer, ensuring secure connections for applications like web browsers and email.<\/li>\n<\/ul>\n<p>Encryption ensures that even if unauthorized parties intercept the transmitted data, they cannot decipher it without the appropriate decryption key. This makes VPN tunnels essential for protecting sensitive information over the Internet.<\/p>\n<h5 id=\"articleTOC_1\" data-pm-slice=\"1 3 []\"><strong>Prerequisites:<\/strong><\/h5>\n<ul class=\"ak-ul\">\n<li>TestGrid login credentials.<\/li>\n<li>Download the TG Connect file as per your machine or system.<\/li>\n<li>Copy this code snippet and run it in your terminal to start a tunnel.<\/li>\n<\/ul>\n<p>Start configuring your local and hosted website and production application.<\/p>\n<h5>Step 1: Log in to the TestGrid portal with valid credentials.<\/h5>\n<ul>\n<li>1. Go to <strong>&#8220;More Tools&#8221;<\/strong> from the dashboard on the bottom left side of the screen and click on the <strong>&#8220;TG Connect&#8221;<\/strong> tool.<\/li>\n<li>2. Download the executable file for your operating system.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5563 aligncenter\" src=\"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/TGConnectPhoto.png\" alt=\"\" width=\"1889\" height=\"871\" \/><\/p>\n<h5>Step 2: Open the terminal. After downloading the executable, navigate to the executable directory by using the &#8216;cd&#8217;\u00a0command.<\/h5>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">~$ cd &lt;path_of_downloaded_executable_file&gt;\r\n\r\n<\/pre>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Then copy the code snippet based on your operating system and run it in your terminal to start a tunnel.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5565 aligncenter\" src=\"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Connect2Photo.png\" alt=\"\" width=\"1539\" height=\"441\" \/><\/p>\n<h5>Step 3: You will receive a message saying, <span style=\"text-decoration: underline;\">&#8220;Connection established. Tunnelling started!&#8221; <\/span>The terminal will display the proxy port.<\/h5>\n<p>Next, look up the IP address or domain of your local machine or a hosted website. The terminal displays the proxy port, which is used as a SOCKS5 proxy to launch your TestGrid devices or browser. This configuration allows tunneling from the local machine&#8217;s IP address to our TG Device cloud.<\/p>\n<ul>\n<li>Go to the Real Device Cloud and connect to your devices. Once the device is opened, ensure that you have the <strong>Socks5 proxy<\/strong> installed; if not, you may download it from this link: <a href=\"https:\/\/socksdroid.en.softonic.com\/android\/download\">https:\/\/socksdroid.en.softonic.com\/android\/download<\/a><\/li>\n<li>The TG Connect icon will appear in the bottom-right corner.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-5776 aligncenter\" src=\"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Screenshot-2026-01-08-at-21.19.55.png\" alt=\"\" width=\"200\" height=\"386\" \/><\/p>\n<h5>Step 4: Turn on the toggle that you found on the terminal, it sets the proxy on the device, and you are able to see the &#8220;VPN Set Successfully&#8221; message in the top right corner.<\/h5>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3007\" src=\"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/successmessage.png\" alt=\"\" width=\"300\" height=\"149\" \/><\/p>\n<p><strong><span style=\"text-decoration: underline; color: #993300;\">Notes:<\/span> To successfully configure the VPN, ensure that the tunnel is started before turning on the VPN on the device. If TG tunnel is not configure properly you can see warning message TG Tunnel is not connected.<\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"wp-image-5777 aligncenter\" src=\"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Screenshot-2026-01-08-at-21.25.37.png\" alt=\"\" width=\"200\" height=\"392\" \/><\/p>\n<h5>Step 5: Enter the local hosted URL into the Chrome browser to test the website, and if you want to test your debug\/production app, install and launch it. You can now access your local environment via the TG Device cloud.<\/h5>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3010\" src=\"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/untitled11.png\" alt=\"\" width=\"200\" height=\"400\" \/><\/p>\n<h5>Step 6: <strong>For iOS, you can download the <span style=\"text-decoration: underline;\">Potatso<\/span> <\/strong>proxy app<strong> and install it on the device.<\/strong><\/h5>\n<ul>\n<li>Go to the Real Device Cloud and connect your devices. Once the device is opened, make sure you have the Potatso proxy installed; if not, you can get it from the device&#8217;s App Store.<\/li>\n<li>Launch the Potatso application and manually enter your proxy information. Select <strong>Socks5<\/strong> as the type, and then click the Done button. Alternatively, click the TG Connect icon <span class=\"gmail_default\">on the TG device cloud <\/span>and add a port, then select Launch VPN.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-3341 aligncenter\" src=\"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Add_Host.png\" alt=\"\" width=\"200\" height=\"383\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"wp-image-3342 aligncenter\" src=\"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Add_Portand-Type.png\" alt=\"\" width=\"197\" height=\"383\" \/><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-3343 aligncenter\" src=\"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Add_SocksType.png\" alt=\"\" width=\"207\" height=\"382\" \/><\/p>\n<h5>Step 7: After adding the proxy, click on the device&#8217;s TG Connect icon, enter the VPN port, and then click the relaunch button.<\/h5>\n<ul>\n<li>The message &#8220;VPN successfully set&#8221; will appear in the upper-right corner of your screen after the VPN setting is finished.<\/li>\n<li>Now enter the URL in the Safari browser of the local environment that you want to access.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-5862 aligncenter\" src=\"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Screenshot-2026-01-20-at-22.29.18.png\" alt=\"\" width=\"200\" height=\"362\" srcset=\"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Screenshot-2026-01-20-at-22.29.18.png 404w, https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Screenshot-2026-01-20-at-22.29.18-166x300.png 166w\" sizes=\"auto, (max-width: 200px) 100vw, 200px\" \/><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-3344 aligncenter\" src=\"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Configuring_VPN-e1768928849443.png\" alt=\"\" width=\"208\" height=\"362\" srcset=\"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Configuring_VPN-e1768928849443.png 437w, https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Configuring_VPN-e1768928849443-173x300.png 173w\" sizes=\"auto, (max-width: 208px) 100vw, 208px\" \/><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-3346 aligncenter\" src=\"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/VPN_Sucessfully_Message-e1768928824833.png\" alt=\"\" width=\"222\" height=\"362\" srcset=\"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/VPN_Sucessfully_Message-e1768928824833.png 468w, https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/VPN_Sucessfully_Message-e1768928824833-184x300.png 184w\" sizes=\"auto, (max-width: 222px) 100vw, 222px\" \/><\/p>\n<h5>Step 8: Go to the device cloud and connect the browsers. To configure TG Connect, open your browser, click the icon, enter the port, and then click the relaunch button.<\/h5>\n<ul>\n<li>After clicking on the relaunch button, TG Connect will start. Now you enter the URL in a new tab for the local environment that you want to access.<\/li>\n<\/ul>\n<p><strong><span style=\"text-decoration: underline; color: #993300;\">Notes:<\/span> <\/strong>TG-Connect (TG Tunnel) currently supports <b>only the Chrome browser<\/b> for:<\/p>\n<ul>\n<li>Codeless test execution<\/li>\n<li>Test Case Generator<\/li>\n<li>Manual testing (UI options)<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5863\" src=\"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Screenshot-2026-01-20-at-22.38.55.png\" alt=\"\" width=\"1020\" height=\"593\" srcset=\"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Screenshot-2026-01-20-at-22.38.55.png 2554w, https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Screenshot-2026-01-20-at-22.38.55-300x174.png 300w, https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Screenshot-2026-01-20-at-22.38.55-1024x595.png 1024w, https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Screenshot-2026-01-20-at-22.38.55-768x446.png 768w, https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Screenshot-2026-01-20-at-22.38.55-1536x892.png 1536w, https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Screenshot-2026-01-20-at-22.38.55-2048x1190.png 2048w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-3352 aligncenter\" src=\"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Website-1.png\" alt=\"\" width=\"1020\" height=\"470\" \/><\/p>\n<h5>Step 9: To Abort TG Connect from Your Network<\/h5>\n<p>a) To terminate TG Connect, use <code>Control<\/code> or <code>CMD+C<\/code> in your command-line interface environment.<\/p>\n<p>b) If TG Tunneling testing is completed, you need to disable the VPN on your mobile devices. For Android devices, open the SocksDroid app; for iOS devices, open the Potatso app, and turn off the VPN.<\/p>\n<p>c) After disabling the VPN, your devices will reconnect to standard Wi-Fi and mobile networks, restoring normal functionality.<\/p>\n<p><strong><span style=\"color: #800000;\">Note:<\/span> <em>When aborting the TG Tunnel, ensure that your normal device connections are properly restored. This step is crucial to avoid any connectivity issues and to ensure that your devices return to their standard network configurations.<\/em><\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-3639 aligncenter\" src=\"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Socksdroidscreenshot.png\" alt=\"\" width=\"200\" height=\"377\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"wp-image-3640 aligncenter\" src=\"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/PotatsoProxy.png\" alt=\"\" width=\"200\" height=\"373\" \/><\/p>\n<h4>Utilise TG connect in the Codeless Generator<\/h4>\n<p data-start=\"637\" data-end=\"668\">Using TG Connect allows you to:<\/p>\n<ul>\n<li data-start=\"671\" data-end=\"759\">Test local or internal web and mobile applications using real cloud browsers and devices<\/li>\n<li data-start=\"762\" data-end=\"830\">Generate codeless automation without deploying applications publicly<\/li>\n<li data-start=\"833\" data-end=\"885\">Maintain security while testing private environments<\/li>\n<li data-start=\"888\" data-end=\"937\">Record real user actions directly on local builds<\/li>\n<\/ul>\n<h4 data-start=\"944\" data-end=\"998\"><strong data-start=\"947\" data-end=\"998\">How to Use TG Connect in the Codeless Generator<\/strong><\/h4>\n<h5 data-start=\"1000\" data-end=\"1043\"><strong data-start=\"1004\" data-end=\"1043\">Step 1: Open the Codeless Generator<\/strong><\/h5>\n<ul>\n<li data-start=\"1047\" data-end=\"1092\">Navigate to your Test Automation Project.<\/li>\n<li data-start=\"1096\" data-end=\"1124\">Click Add New Test Case.<\/li>\n<li data-start=\"1128\" data-end=\"1175\">Open the Browser \/ Device Selection screen.<\/li>\n<\/ul>\n<h5 data-start=\"1182\" data-end=\"1215\"><strong data-start=\"1186\" data-end=\"1215\">Step 2: Enable TG Connect<\/strong><\/h5>\n<ul>\n<li data-start=\"1219\" data-end=\"1281\">Select the checkbox \u201cConnect with your local environment\u201d.<\/li>\n<li data-start=\"1285\" data-end=\"1323\">Choose the required browser or device.<\/li>\n<li data-start=\"1327\" data-end=\"1368\">Start writing or recording the test case.<\/li>\n<\/ul>\n<div style=\"width: 800px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-3002-1\" width=\"800\" height=\"600\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Screen-Recording-2026-01-20-at-23.10.16.mp4?_=1\" \/><a href=\"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Screen-Recording-2026-01-20-at-23.10.16.mp4\">https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Screen-Recording-2026-01-20-at-23.10.16.mp4<\/a><\/video><\/div>\n<h5 data-start=\"1672\" data-end=\"1717\"><strong data-start=\"1675\" data-end=\"1717\">Using TG Connect During Test Execution<\/strong><\/h5>\n<p data-start=\"1718\" data-end=\"1753\">When running an existing test case:<\/p>\n<ul>\n<li data-start=\"1757\" data-end=\"1777\">Start the execution.<\/li>\n<li data-start=\"1781\" data-end=\"1876\">On the <strong data-start=\"1788\" data-end=\"1818\">Browser \/ Device Selection<\/strong> screen, select <strong data-start=\"1834\" data-end=\"1875\">\u201cConnect with your local environment\u201d<\/strong>.<\/li>\n<li data-start=\"1880\" data-end=\"1898\">Run the test case.<\/li>\n<\/ul>\n<p data-start=\"1902\" data-end=\"1978\"><strong data-start=\"1902\" data-end=\"1916\">Important:<\/strong> TG Connect must remain running throughout the test execution.<\/p>\n<div style=\"width: 800px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-3002-2\" width=\"800\" height=\"600\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Screen-Recording-2026-01-20-at-23.13.42.mp4?_=2\" \/><a href=\"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Screen-Recording-2026-01-20-at-23.13.42.mp4\">https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/Screen-Recording-2026-01-20-at-23.13.42.mp4<\/a><\/video><\/div>\n<h5 data-start=\"3068\" data-end=\"3089\"><strong data-start=\"3071\" data-end=\"3089\">Best Practices<\/strong><\/h5>\n<ul>\n<li data-start=\"2110\" data-end=\"2164\">Keep TG Connect running during recording and execution<\/li>\n<li data-start=\"2167\" data-end=\"2227\">Do not close the TG Connect window while a session is active<\/li>\n<li data-start=\"2230\" data-end=\"2299\">Ensure your local application is accessible before launching a device<\/li>\n<li data-start=\"2302\" data-end=\"2353\">Use stable URLs and avoid frequently changing ports<\/li>\n<\/ul>\n<h5 data-start=\"3338\" data-end=\"3361\"><strong data-start=\"3341\" data-end=\"3361\">Common Use Cases<\/strong><\/h5>\n<ul>\n<li data-start=\"2386\" data-end=\"2429\">Testing applications running on <code data-start=\"2418\" data-end=\"2429\">localhost<\/code><\/li>\n<li data-start=\"2432\" data-end=\"2481\">Automating staging applications behind a firewall<\/li>\n<li data-start=\"2484\" data-end=\"2526\">Running regression tests on internal tools<\/li>\n<li data-start=\"2529\" data-end=\"2571\">Recording user flows before public release<\/li>\n<\/ul>\n<h5 data-start=\"3543\" data-end=\"3558\"><strong data-start=\"3546\" data-end=\"3558\">Benefits<\/strong><\/h5>\n<ul>\n<li data-start=\"2596\" data-end=\"2649\">Secure testing without exposing internal applications<\/li>\n<li data-start=\"2652\" data-end=\"2685\">Faster setup for local automation<\/li>\n<li data-start=\"2688\" data-end=\"2721\">Seamless codeless test generation<\/li>\n<li data-start=\"2724\" data-end=\"2771\">Works across multiple browsers and real devices<\/li>\n<\/ul>\n<h5 data-start=\"2778\" data-end=\"2792\"><strong data-start=\"2781\" data-end=\"2792\">Summary<\/strong><\/h5>\n<p data-start=\"2793\" data-end=\"3054\">TG Connect combined with the Codeless Generator enables secure and powerful automation for private applications. It bridges local environments with cloud devices, allowing teams to generate and execute tests easily\u2014without writing code or compromising security.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview A virtual private network (VPN) tunnel is a secure and encrypted connection established over a public network, typically the Internet. It enables secure communication between two or more private networks or devices. The primary purpose of a VPN tunnel is to provide a secure method for transmitting data between these networks or devices, ensuring [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"epkb_post_type_1_category":[34,30],"epkb_post_type_1_tag":[],"class_list":["post-3002","epkb_post_type_1","type-epkb_post_type_1","status-publish","hentry","epkb_post_type_1_category-documentation","epkb_post_type_1_category-testgrid-remote-device-cloud"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>TG Connect: Securely Connect Your Local Environment Using TG Tunnel - TestGrid<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/testgrid.io\/docs\/document\/tg-connect-securely-connect-your-local-environment-using-tg-tunnel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"TG Connect: Securely Connect Your Local Environment Using TG Tunnel - TestGrid\" \/>\n<meta property=\"og:description\" content=\"Overview A virtual private network (VPN) tunnel is a secure and encrypted connection established over a public network, typically the Internet. It enables secure communication between two or more private networks or devices. The primary purpose of a VPN tunnel is to provide a secure method for transmitting data between these networks or devices, ensuring [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/testgrid.io\/docs\/document\/tg-connect-securely-connect-your-local-environment-using-tg-tunnel\/\" \/>\n<meta property=\"og:site_name\" content=\"TestGrid\" \/>\n<meta property=\"article:modified_time\" content=\"2026-05-06T18:24:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-24-at-19.57.57-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2896\" \/>\n\t<meta property=\"og:image:height\" content=\"1597\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/testgrid.io\\\/docs\\\/document\\\/tg-connect-securely-connect-your-local-environment-using-tg-tunnel\\\/\",\"url\":\"https:\\\/\\\/testgrid.io\\\/docs\\\/document\\\/tg-connect-securely-connect-your-local-environment-using-tg-tunnel\\\/\",\"name\":\"TG Connect: Securely Connect Your Local Environment Using TG Tunnel - TestGrid\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/testgrid.io\\\/docs\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/testgrid.io\\\/docs\\\/document\\\/tg-connect-securely-connect-your-local-environment-using-tg-tunnel\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/testgrid.io\\\/docs\\\/document\\\/tg-connect-securely-connect-your-local-environment-using-tg-tunnel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/testgrid.io\\\/docs\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/TGConnectPhoto.png\",\"datePublished\":\"2024-03-13T11:56:24+00:00\",\"dateModified\":\"2026-05-06T18:24:44+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/testgrid.io\\\/docs\\\/document\\\/tg-connect-securely-connect-your-local-environment-using-tg-tunnel\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/testgrid.io\\\/docs\\\/document\\\/tg-connect-securely-connect-your-local-environment-using-tg-tunnel\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/testgrid.io\\\/docs\\\/document\\\/tg-connect-securely-connect-your-local-environment-using-tg-tunnel\\\/#primaryimage\",\"url\":\"https:\\\/\\\/testgrid.io\\\/docs\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/TGConnectPhoto.png\",\"contentUrl\":\"https:\\\/\\\/testgrid.io\\\/docs\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/TGConnectPhoto.png\",\"width\":1889,\"height\":871},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/testgrid.io\\\/docs\\\/document\\\/tg-connect-securely-connect-your-local-environment-using-tg-tunnel\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/testgrid.io\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"TG Connect: Securely Connect Your Local Environment Using TG Tunnel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/testgrid.io\\\/docs\\\/#website\",\"url\":\"https:\\\/\\\/testgrid.io\\\/docs\\\/\",\"name\":\"TestGrid\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/testgrid.io\\\/docs\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/testgrid.io\\\/docs\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/testgrid.io\\\/docs\\\/#organization\",\"name\":\"TestGrid\",\"url\":\"https:\\\/\\\/testgrid.io\\\/docs\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/testgrid.io\\\/docs\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/testgrid.io\\\/docs\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/tglogo.png\",\"contentUrl\":\"https:\\\/\\\/testgrid.io\\\/docs\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/tglogo.png\",\"width\":344,\"height\":64,\"caption\":\"TestGrid\"},\"image\":{\"@id\":\"https:\\\/\\\/testgrid.io\\\/docs\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"TG Connect: Securely Connect Your Local Environment Using TG Tunnel - TestGrid","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/testgrid.io\/docs\/document\/tg-connect-securely-connect-your-local-environment-using-tg-tunnel\/","og_locale":"en_US","og_type":"article","og_title":"TG Connect: Securely Connect Your Local Environment Using TG Tunnel - TestGrid","og_description":"Overview A virtual private network (VPN) tunnel is a secure and encrypted connection established over a public network, typically the Internet. It enables secure communication between two or more private networks or devices. The primary purpose of a VPN tunnel is to provide a secure method for transmitting data between these networks or devices, ensuring [&hellip;]","og_url":"https:\/\/testgrid.io\/docs\/document\/tg-connect-securely-connect-your-local-environment-using-tg-tunnel\/","og_site_name":"TestGrid","article_modified_time":"2026-05-06T18:24:44+00:00","og_image":[{"width":2896,"height":1597,"url":"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-24-at-19.57.57-1.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/testgrid.io\/docs\/document\/tg-connect-securely-connect-your-local-environment-using-tg-tunnel\/","url":"https:\/\/testgrid.io\/docs\/document\/tg-connect-securely-connect-your-local-environment-using-tg-tunnel\/","name":"TG Connect: Securely Connect Your Local Environment Using TG Tunnel - TestGrid","isPartOf":{"@id":"https:\/\/testgrid.io\/docs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/testgrid.io\/docs\/document\/tg-connect-securely-connect-your-local-environment-using-tg-tunnel\/#primaryimage"},"image":{"@id":"https:\/\/testgrid.io\/docs\/document\/tg-connect-securely-connect-your-local-environment-using-tg-tunnel\/#primaryimage"},"thumbnailUrl":"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/TGConnectPhoto.png","datePublished":"2024-03-13T11:56:24+00:00","dateModified":"2026-05-06T18:24:44+00:00","breadcrumb":{"@id":"https:\/\/testgrid.io\/docs\/document\/tg-connect-securely-connect-your-local-environment-using-tg-tunnel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/testgrid.io\/docs\/document\/tg-connect-securely-connect-your-local-environment-using-tg-tunnel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/testgrid.io\/docs\/document\/tg-connect-securely-connect-your-local-environment-using-tg-tunnel\/#primaryimage","url":"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/TGConnectPhoto.png","contentUrl":"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2024\/03\/TGConnectPhoto.png","width":1889,"height":871},{"@type":"BreadcrumbList","@id":"https:\/\/testgrid.io\/docs\/document\/tg-connect-securely-connect-your-local-environment-using-tg-tunnel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/testgrid.io\/docs\/"},{"@type":"ListItem","position":2,"name":"TG Connect: Securely Connect Your Local Environment Using TG Tunnel"}]},{"@type":"WebSite","@id":"https:\/\/testgrid.io\/docs\/#website","url":"https:\/\/testgrid.io\/docs\/","name":"TestGrid","description":"","publisher":{"@id":"https:\/\/testgrid.io\/docs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/testgrid.io\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/testgrid.io\/docs\/#organization","name":"TestGrid","url":"https:\/\/testgrid.io\/docs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/testgrid.io\/docs\/#\/schema\/logo\/image\/","url":"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2025\/08\/tglogo.png","contentUrl":"https:\/\/testgrid.io\/docs\/wp-content\/uploads\/2025\/08\/tglogo.png","width":344,"height":64,"caption":"TestGrid"},"image":{"@id":"https:\/\/testgrid.io\/docs\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/testgrid.io\/docs\/wp-json\/wp\/v2\/epkb_post_type_1\/3002","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/testgrid.io\/docs\/wp-json\/wp\/v2\/epkb_post_type_1"}],"about":[{"href":"https:\/\/testgrid.io\/docs\/wp-json\/wp\/v2\/types\/epkb_post_type_1"}],"author":[{"embeddable":true,"href":"https:\/\/testgrid.io\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/testgrid.io\/docs\/wp-json\/wp\/v2\/comments?post=3002"}],"version-history":[{"count":74,"href":"https:\/\/testgrid.io\/docs\/wp-json\/wp\/v2\/epkb_post_type_1\/3002\/revisions"}],"predecessor-version":[{"id":6250,"href":"https:\/\/testgrid.io\/docs\/wp-json\/wp\/v2\/epkb_post_type_1\/3002\/revisions\/6250"}],"wp:attachment":[{"href":"https:\/\/testgrid.io\/docs\/wp-json\/wp\/v2\/media?parent=3002"}],"wp:term":[{"taxonomy":"epkb_post_type_1_category","embeddable":true,"href":"https:\/\/testgrid.io\/docs\/wp-json\/wp\/v2\/epkb_post_type_1_category?post=3002"},{"taxonomy":"epkb_post_type_1_tag","embeddable":true,"href":"https:\/\/testgrid.io\/docs\/wp-json\/wp\/v2\/epkb_post_type_1_tag?post=3002"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}