Skip to Content

Edge Tunnel

Edge Tunnel is a tunneling technology that allows the cloud AI Hub server to access your internal systems via your local network. This enables AI Hub to utilize systems that are protected by firewalls or VPNs and are otherwise inaccessible from the outside.


Problems Solved

  • No direct access to local systems → MySQL or local development servers on your PC cannot be accessed directly from the AI Hub server.

  • VPN environment restrictions → Internal company systems accessible only via VPN (e.g., GlobalProtect) are isolated from external connections.

  • Firewall policies → Most environments do not allow direct connections from the external internet to internal networks for security reasons.


How It Works

Edge Tunnel provides a connection path between the AI Hub server and your local system through a tunnel program running on your PC.


Connection Process

  1. Request Tunnel Setup When a local system connection is needed in AI Hub, enable the “Use Edge Tunnel” option.

  2. Run Tunnel Program Run the Edge Tunnel program on your PC to connect to the AI Hub server.

  3. Connection Mediation Requests from the AI Hub server are relayed to your local network via the tunnel.

  4. Access Target System The tunnel program connects to the target system (MySQL, VPN server, etc.) in your local network.


Usage Examples

🏠 Local Development Environment

You can run queries directly from AI Hub to local databases (MySQL, PostgreSQL, etc.) running on your developer PC.

🏢 Internal Company Systems

You can use AI Hub to access internal databases or APIs that are only accessible via VPN.

🔒 Secure Environments

Even in environments protected by firewalls, you can use AI Hub features without exposing your internal network to the outside.


Installation & Usage

1. Enable Tunnel Option

Check the “Use Edge Tunnel” option in the database connection settings.

2. Install Tunnel Program

Run the provided command in your terminal to install the Edge Tunnel program.

3. Start Tunnel Connection

npx -y @querypie/mcp-dev tunnel link 'your-tunnel-key'

4. Confirm Connection

Check the “Tunnel Connected” status in AI Hub and start accessing your local systems.


Technical Features

  • TCP Forwarding: Supports various protocols by mediating connections at the network level
  • Automatic Routing: Automatically selects the optimal connection path based on the target address
  • Connection Status Monitoring: Monitors tunnel connection status in real time

Summary

Edge Tunnel is a tunneling solution that allows the cloud server to access your local network.

  • Use AI Hub even in secure, firewall-protected environments
  • Seamlessly connect local development and internal systems
  • Instantly usable with simple network setup

Enjoy the convenience of cloud AI services while keeping your local security intact!

Last updated on