dx tunnel

Open a background tunnel to a remote host with dx.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/siteminder-au/claude-code-dx-plugin --skill dx-tunnel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dx tunnel
Source: https://github.com/siteminder-au/claude-code-dx-plugin/tree/main/skills/tunnel
Command: npx skills add https://github.com/siteminder-au/claude-code-dx-plugin --skill dx-tunnel

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @siteminder/dx, @anthropic-ai/claude-code.

What problem does it solve?

Establishing secure network tunnels to remote hosts often involves remembering complex commands and managing ports. This Skill simplifies the process, allowing you to connect quickly and reliably without manual command-line juggling.

Core Features & Use Cases

  • Intuitive Tunneling: Opens tunnels to specified remote hosts with natural language commands, making connectivity effortless.
  • Automated Port Selection: Suggests and manages local ports to avoid conflicts, ensuring a smooth connection every time.
  • Background Execution: Runs tunnels as background processes, keeping your terminal free for other tasks and improving workflow.
  • Use Case: Need to access a service on demand-manager-api.platform-dev? Simply ask "open tunnel to demand-manager-api.platform-dev" and the Skill will set up the connection, saving you time and hassle.

Quick Start

open tunnel to demand-manager-api.platform-dev

Frequently Asked Questions about dx tunnel

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I open a secure tunnel to a remote host?

Open a tunnel to a remote host by specifying the target host, target port (defaults to 80), and local port (auto-selected from 8000–8999). The dx tunnel Skill handles port conflict avoidance and runs the tunnel in the background, keeping your terminal free.

What ports does dx tunnel use by default?

dx tunnel defaults to port 80 for the remote target_port and automatically selects an available local_port from the 8000–8999 range, avoiding conflicts with existing services.

Can I run tunnels in the background while continuing to use my terminal?

Yes. dx tunnel runs as a background process, freeing your terminal for other tasks. You can manage multiple tunnels simultaneously without terminal interruption.

What do I need to use dx tunnel?

You need the dx binary available globally or accessible via npx. The Skill requires @siteminder/dx and @anthropic-ai/claude-code as dependencies and automatically adds dx to PATH if needed.

How do I stop a tunnel created with dx tunnel?

The Skill reports results and errors from stdout or stderr when stopping the tunnel. Use the stop command with the tunnel identifier or process reference provided after the tunnel was opened.

What happens if a local port is already in use?

dx tunnel detects port conflicts and automatically selects an alternative port from the 8000–8999 range, ensuring a smooth connection without manual intervention.