npm_create_stream
Create a TCP/UDP stream proxy to forward incoming ports to a target host. Set up TCP or UDP forwarding for non-HTTP services.
Instructions
Create a new TCP/UDP stream proxy
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"incoming_port": "<incoming_port>",
"forwarding_host": "<forwarding_host>",
"forwarding_port": "<forwarding_port>"
},
"name": "npm_create_stream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain_names | No | SSL domain names | |
| incoming_port | Yes | Port to listen on (1-65535) | |
| certificate_id | No | SSL certificate ID | |
| tcp_forwarding | No | Enable TCP forwarding (default: true) | |
| udp_forwarding | No | Enable UDP forwarding (default: false) | |
| forwarding_host | Yes | Host to forward to | |
| forwarding_port | Yes | Port to forward to (1-65535) |