opn_list_nat_rules
List NAT port forwarding (DNAT) rules to view forwarded ports, inspect configuration, and troubleshoot port forwarding issues. Returns rules and count.
Instructions
List NAT port forwarding (DNAT) rules.
Use this when you need to see which ports are forwarded to internal hosts, check NAT rule configuration, or troubleshoot port forwarding issues.
Like firewall filter rules, this only returns MVC-managed NAT rules. Legacy NAT rules from the traditional GUI may not appear here — use opn_get_config_section('nat') to see all NAT configuration.
Returns: dict with 'rows' (list of NAT rules) and 'rowCount' (total).
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": "opn_list_nat_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| search | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||