List port forwards
unifi_list_port_forwardsLists a site's port forwarding rules from the classic UniFi controller API, showing enabled status, WAN interface, LAN target, and source restrictions to audit internet-exposed services.
Instructions
List the site's port forwards from the classic controller API (rest/portforward), whole and unpaged: each one exposes a LAN host to the internet on the WAN interface pfwd_interface. enabled: false rules forward nothing; enabledCount counts the rest. Unless src_limiting_enabled restricts it to src_firewall_group_id, the forward is open to the whole internet: src is then "any" or absent (Network 11.0.94 omits it). fwd and fwd_port are the LAN target. IDs are the classic controller's _id values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteReference | Yes | Site internalReference from unifi_list_sites (often default), not the Integration API UUID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| count | Yes | ||
| enabledCount | Yes | ||
| siteReference | Yes |