Добавить проброс порта
add_port_forwardCreate a port forwarding rule to map an external port to an internal IP and port, enabling inbound access to devices on your local network.
Instructions
Создаёт правило port forwarding с внешнего порта на внутренний IP:порт.
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": {
"proto": "<proto>",
"externalPort": "<externalPort>",
"internalIp": "<internalIp>",
"internalPort": "<internalPort>",
"wanInterface": "<wanInterface>"
},
"name": "add_port_forward"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proto | Yes | ||
| dryRun | No | Если true — вернуть RCI payload без отправки на роутер (предпросмотр). | |
| confirm | No | Обязательно true, чтобы реально применить изменение на роутере. | |
| internalIp | Yes | ||
| externalPort | Yes | ||
| internalPort | Yes | ||
| wanInterface | Yes | RCI id WAN-интерфейса (см. get_interfaces). |