Skip to content

Commit

Permalink
Documentation for ip address change
Browse files Browse the repository at this point in the history
  • Loading branch information
phillc committed Feb 25, 2021
1 parent 6360f4e commit 3e8cfa6
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions website/docs/r/firewall.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@ resource "linode_firewall" "my_firewall" {
inbound {
protocol = "TCP"
ports = ["80"]
addresses = ["0.0.0.0/0"]
ipv4 = ["0.0.0.0/0"]
ipv6 = ["ff00::/8"]
}
outbound {
protocol = "TCP"
ports = ["80"]
addresses = ["0.0.0.0/0"]
ipv4 = ["0.0.0.0/0"]
ipv6 = ["ff00::/8"]
}
linodes = [linode_instance.my_instance.id]
Expand Down Expand Up @@ -68,7 +70,9 @@ The following arguments are supported in the inbound rule block:

* `protocol` - (Required) The network protocol this rule controls.

* `addresses` - (Required) A list of IP addresses, CIDR blocks, or 0.0.0.0/0 (to allow all) this rule applies to.
* `ipv4` - (Optional) A list of IP addresses, CIDR blocks, or 0.0.0.0/0 (to allow all) this rule applies to.

* `ipv6` - (Optional) A list of IPv6 addresses or networks this rule applies to.

### outbound

Expand All @@ -78,7 +82,9 @@ The following arguments are supported in the outbound rule block:

* `protocol` - (Required) The network protocol this rule controls.

* `addresses` - (Required) A list of IP addresses, CIDR blocks, or `0.0.0.0/0` (to allow all) this rule applies to.
* `ipv4` - (Optional) A list of IP addresses, CIDR blocks, or `0.0.0.0/0` (to allow all) this rule applies to.

* `ipv6` - (Optional) A list of IPv6 addresses or networks this rule applies to.

## Attributes Reference

Expand Down

0 comments on commit 3e8cfa6

Please sign in to comment.