reverse_port_forward
Create a reverse port forward to tunnel traffic from an agent's listening port to a remote target, enabling network access through compromised hosts.
Instructions
Start a reverse port forward through an agent: agent listens on port, forwards to thost:tport from the teamserver. Returns the tunnel ID.
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": {
"agent_id": "<agent_id>",
"port": "<port>",
"target_host": "<target_host>",
"target_port": "<target_port>"
},
"name": "reverse_port_forward"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| port | Yes | ||
| target_host | Yes | ||
| target_port | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |