Open an AWS IoT Secure Tunneling connection to reach a device behind a firewall/NAT without opening inbound ports

domain: iot · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Open a tunnel (via console, CLI, or OpenTunnel API) to obtain a source client access token and a destination client access token
  2. On the remote device, run the local proxy in destination mode using the destination access token and the Region in which the tunnel was opened
  3. On your laptop/desktop, run the local proxy in source mode using the source access token and the same Region to initiate the outbound WebSocket Secure connection
  4. Connect your local SSH (or other TCP) client to the source local proxy's listening port; traffic is relayed over the encrypted WebSocket tunnel to the destination proxy and on to the destination application
  5. For devices behind a web proxy, configure the local proxy's proxy environment settings so its outbound connection can still reach the AWS Cloud over the allowed port (typically 443)

Known gotchas

Related routes

Connect an IoT device to AWS IoT Core using MQTT over mutual TLS with an X.509 certificate
aws.amazon.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans