pivot_socat_forward
Set up a socat port forward to relay traffic from a local port to a remote host and port, supporting TCP or UDP.
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)
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 |