Add support for CIDR in port forwarding source

Fixes #40
This commit is contained in:
Paul Tyng
2020-09-20 20:57:13 -04:00
parent d58c455aa3
commit 8f33b7cf94
6 changed files with 108 additions and 2 deletions

View File

@@ -24,6 +24,6 @@ description: |-
- **name** (String, Optional) The name of the port forwarding rule.
- **port_forward_interface** (String, Optional) The port forwarding interface. Can be `wan`, `wan2`, or `both`.
- **protocol** (String, Optional) The protocol for the port forwarding rule. Can be `tcp`, `udp`, or `tcp_udp`. Defaults to `tcp_udp`.
- **src_ip** (String, Optional) The source IPv4 address of the port forwarding rule. For all traffic, specify `any`. Defaults to `any`.
- **src_ip** (String, Optional) The source IPv4 address (or CIDR) of the port forwarding rule. For all traffic, specify `any`. Defaults to `any`.