Add Port Forwarding Rule
add_port_forwarding_ruleCreate a port forwarding rule on an iKuai router to direct traffic by protocol, source/destination address and port, and target WAN interface.
Instructions
添加端口分流规则
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_port_forwarding_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | ||
| enabled | No | ||
| dst_addr | No | ||
| dst_port | No | ||
| protocol | No | tcp+udp | |
| src_addr | No | ||
| src_port | No | ||
| interface | No | wan2 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||