port_forward
Establishes a local port forward from the teamserver to a target host via an agent, enabling traffic routing through the agent. Returns a tunnel ID for management.
Instructions
Start a local port forward through an agent: lhost:lport (local on teamserver) → thost:tport (target via agent). Returns the tunnel ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| lhost | Yes | ||
| lport | Yes | ||
| target_host | Yes | ||
| target_port | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |