@@ -8748,8 +8748,10 @@ paths:
8748
8748
Firewall to a Linode service. Currently, Firewalls can only be assigned to Linode
8749
8749
instances.
8750
8750
8751
- A Firewall can be assigned to multiple Linode services, and multiple Firewalls can be
8752
- assigned to a single Linode service.
8751
+ A Firewall can be assigned to multiple Linode services, and up to three active Firewalls
8752
+ can be assigned to a single Linode service. Additional disabled Firewalls can be
8753
+ assigned to a service, but they cannot be enabled if three other active Firewalls
8754
+ are already assigned to the same service.
8753
8755
8754
8756
A `firewall_create` Event is generated when this endpoint returns successfully.
8755
8757
@@ -9086,6 +9088,10 @@ paths:
9086
9088
description: |
9087
9089
Creates a Firewall Device, which assigns a Firewall to a Linode service (referred to
9088
9090
as the Device's `entity`). Currently, only Devices with an entity of type `linode` are accepted.
9091
+ A Firewall can be assigned to multiple Linode services, and up to three active Firewalls can
9092
+ be assigned to a single Linode service. Additional disabled Firewalls can be
9093
+ assigned to a service, but they cannot be enabled if three other active Firewalls
9094
+ are already assigned to the same service.
9089
9095
9090
9096
Creating a Firewall Device will apply the Rules from a Firewall to a Linode service.
9091
9097
A `firewall_device_add` Event is generated when the Firewall Device is added successfully.
@@ -14721,7 +14727,7 @@ components:
14721
14727
type: object
14722
14728
description: >
14723
14729
A resource that controls incoming and outgoing network traffic to a Linode service. A Firewall can
14724
- be assigned to multiple Linode services, and multiple Firewalls can be assigned to a single Linode service.
14730
+ be assigned to multiple Linode services, and up to three active Firewalls can be assigned to a single Linode service.
14725
14731
[Create a Firewall Device](http://developers.linode.com/api/v4/networking-firewalls-firewall-id-devices/#post)
14726
14732
to assign a Firewall to a Linode service. Currently, Firewalls can only be assigned to Linode instances.
14727
14733
properties:
@@ -14780,15 +14786,17 @@ components:
14780
14786
x-linode-cli-display: 3
14781
14787
rules:
14782
14788
type: object
14783
- description: >
14784
- The inbound and outbound access rules to apply to the Firewall.
14789
+ description: |
14790
+ The inbound and outbound access rules to apply to the Firewall.
14785
14791
14786
14792
* A minimum of one open inbound rule is required. Any inbound
14787
14793
traffic that is not permitted by your rules will be blocked.
14788
14794
* Outbound rules are optional. When no outbound rules are specified,
14789
14795
all outbound traffic is allowed. If one or more outbound rules are
14790
14796
specified, all outbound traffic that is not permitted by your rules
14791
14797
will be blocked.
14798
+
14799
+ A Firewall may have up to 25 rules across its inbound and outbound rulesets.
14792
14800
properties:
14793
14801
inbound:
14794
14802
type: array
@@ -14840,11 +14848,16 @@ components:
14840
14848
- Ports must be within 1 and 65535.
14841
14849
- Ports may not be specified if a rule's protocol is `ICMP`. At least one port
14842
14850
must be specified if a rule's protocol is `TCP` or `UDP`.
14851
+ - The ports string can have up to 15 *pieces*, where a single port is treated
14852
+ as one piece, and a port range is treated as two pieces. For example,
14853
+ the string "22-24, 80, 443" has four pieces.
14843
14854
example: '22-24, 80, 443'
14844
14855
addresses:
14845
14856
type: object
14846
14857
description: >
14847
- Whitelisted IPv4 or IPv6 addresses.
14858
+ Whitelisted IPv4 or IPv6 addresses. A Rule can have up to 255 addresses
14859
+ or networks listed across its IPv4 and IPv6 arrays. A network and a single IP
14860
+ are treated as equivalent when accounting for this limit.
14848
14861
properties:
14849
14862
ipv4:
14850
14863
description: A list of IPv4 addresses or networks.
@@ -14864,7 +14877,11 @@ components:
14864
14877
FirewallDevices:
14865
14878
type: object
14866
14879
description: >
14867
- Associates a Firewall with a Linode service.
14880
+ Associates a Firewall with a Linode service. A Firewall can be assigned
14881
+ to multiple Linode services, and up to three active Firewalls can
14882
+ be assigned to a single Linode service. Additional disabled Firewalls can be
14883
+ assigned to a service, but they cannot be enabled if three other active Firewalls
14884
+ are already assigned to the same service.
14868
14885
properties:
14869
14886
id:
14870
14887
x-linode-filterable: true
0 commit comments