Open TCP tunnel to VM
Opens a raw TCP tunnel to the VM behind a lease, relayed to the provider over libp2p. Requires an X-Signature proof from the lease's access key.
Path Parameters
leaseHash*string
Hex-encoded SHA-256 (64 chars)
Header Parameters
X-Signature*string
Hex ed25519 signature over the raw lease-hash bytes, made with the lease's access key.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://ldn.core.test.network/tunnel/f2a3b4c5d6e7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3/tcp" \ -H "X-Signature: string"Empty
{
"error": "invalid signature"
}{
"error": "invalid signature"
}{
"error": "invalid signature"
}{
"error": "invalid signature"
}{
"error": "invalid signature"
}{
"error": "invalid signature"
}