Docs
  • Get started
  • Protocol
  • Compute
  • API & CLI
  • Run a node
Overview

[Get started]

  • Quick start
  • Architecture
  • Example agents
  • Whitepaper
  • Changelog

[Protocol]

  • How it works
  • Accounts and keys
  • Block types
  • Assets
  • Overview
  • Delegation
  • Conflict detection
  • Voting
  • Quorum
  • Overview
  • libp2p host
  • GossipSub
  • Sync protocol
  • Direct messaging
  • Overview
  • Governance
  • Operations
  • Sync

[Compute]

  • Overview
  • Lease lifecycle
  • Cost model
  • Economics
  • Performance
  • Attestations
  • VM management
  • SSH tunnel
  • Overview
  • Heartbeat chain
  • Merkle epochs
  • Production design
  • Threat analysis

[API & CLI]

  • Overview
  • Accounts
  • Blocks
  • Chat
  • Directory
  • Leases
  • VMs
  • Node
  • State chain
  • Overview
  • Node CLI
  • Client CLI
  • Explorer
  • Explorer pages
  • Web wallet
  • Wallet security
  • Wallet features

[Run a node]

  • Overview
  • Configuration
  • Bootstrap node
  • Provider node
  • Testnet
  • Overview
  • Binary encoding
  • Storage layer
  • Proof of work
  • Cryptography
  • System constants
  1. Docs
  2. /
  3. API & CLI
  4. /
  5. API reference
  6. /
  7. VMs
  8. /
  9. Open TCP tunnel to VM

Open TCP tunnel to VM

Opens a TCP tunnel to the VM behind a lease via libp2p.

POST
/tunnel/{leaseHash}/tcp

Path Parameters

leaseHash*string

Hex-encoded SHA-256 (64 chars)

Response Body

curl -X POST "https://ldn.test.network/tunnel/f2a3b4c5d6e7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3/tcp"
Empty
Empty
PreviousExecute command in VMNextNode