pivot_socat_forward
Set up a socat port forward to relay traffic from a local listening port to a target host and port, enabling network pivoting across segmented environments.
Instructions
Create a socat port forward.
Args: listen_port: Local port to listen on target_host: Target host to forward to target_port: Target port to forward to protocol: Protocol (tcp, udp)
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": {
"listen_port": "<listen_port>",
"target_host": "<target_host>",
"target_port": "<target_port>"
},
"name": "pivot_socat_forward"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| protocol | No | tcp | |
| listen_port | Yes | ||
| target_host | Yes | ||
| target_port | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |