Create TCP Mapping
create_tcp_mappingExpose a Cube's TCP port on the host, with optional IP/CIDR allow-listing to control access. Specify the cube and port to create the mapping; UDP forwarding is enabled by default.
Instructions
Expose a Cube TCP port on the host, optionally restricted to specific IPs/CIDRs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cubeId | Yes | The Cube id to operate on. | |
| spaceId | No | Krova Cloud Space id. Optional if KROVA_SPACE_ID is set as the server default. | |
| cubePort | Yes | The in-Cube port to expose. | |
| udpEnabled | No | Whether to also forward UDP traffic on the same host port, in addition to TCP. UDP is forwarded by default — leave this unset to get UDP forwarding, and only pass false to disable it. | |
| whitelistIps | No | Deprecated alias for whitelistedIps. Accepted so existing agent prompts keep working; prefer whitelistedIps. | |
| whitelistedIps | No | Optional IP/CIDR allow-list restricting who can reach the mapping. |