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).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| search | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||