Creating Tunnels¶
Create a New Tunnel¶
- Click + in the toolbar (or press Cmd+N)
- Choose SSH Tunnel or AWS Session Manager
- Fill in the configuration
- Click Save
SSH Tunnel Configuration¶
Required Fields¶
| Field | Description | Example |
|---|---|---|
| Name | Descriptive name | dev-postgres |
| SSH Host | Server to connect through | user@server.com |
| Local Port | Port on your Mac | 5432 |
| Remote Host | Destination service | localhost |
| Remote Port | Port on remote host | 5432 |
SSH Host Formats¶
SSH Config Aliases
If you have servers defined in ~/.ssh/config, enter the alias name. StormTunnel reads the hostname, user, port, and key automatically.
Authentication¶
Choose one:
- SSH Key (recommended) -- Select from your imported keys
- Password -- Enter SSH password (stored in Keychain)
See Authentication for details.
AWS Session Manager Tunnel¶
For EC2 instances using AWS Session Manager instead of SSH.
Required Fields¶
| Field | Description | Example |
|---|---|---|
| Name | Descriptive name | aws-prod-db |
| Instance ID | EC2 instance ID | i-0123456789abcdef0 |
| Region | AWS region | us-east-1 |
| Local Port | Port on your Mac | 5432 |
| Remote Host | Destination service | mydb.rds.amazonaws.com |
| Remote Port | Port on remote | 5432 |
AWS Profile¶
Select your AWS profile in Settings > AWS or per-tunnel in the configuration.
Port Forwarding Examples¶
Database (PostgreSQL)¶
Access a database on the SSH server:
| Field | Value |
|---|---|
| Local Port | 5432 |
| Remote Host | localhost |
| Remote Port | 5432 |
Connect your database client to localhost:5432.
Web Server¶
Access a web app running on port 80:
| Field | Value |
|---|---|
| Local Port | 8080 |
| Remote Host | localhost |
| Remote Port | 80 |
Open http://localhost:8080 in your browser.
Internal Service¶
Reach a service on the remote network:
| Field | Value |
|---|---|
| Local Port | 6379 |
| Remote Host | redis.internal |
| Remote Port | 6379 |
Connect to localhost:6379 to reach redis.internal:6379.
Duplicate a Tunnel¶
- Select the tunnel
- Press Cmd+D (or right-click > Duplicate)
- Edit the copy
- Save
Advanced Options¶
Auto-Reconnect¶
Automatically reconnect if the tunnel drops:
- Edit the tunnel
- Enable Auto-Reconnect in Advanced settings
- Save
Connection Timeout¶
Adjust how long to wait for connections:
- Settings > General > Connection Timeout (global)
- Or per-tunnel in Advanced settings
Verbose Logging¶
Enable detailed SSH output for debugging:
- Edit tunnel > Advanced > Enable Verbose Output
- Connect the tunnel
- Check Console.app for detailed logs
For connection issues, see Troubleshooting.