You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
View Firewall information for Firewalls associated with this Linode.
8033
+
View Firewall information for Firewalls assigned to this Linode.
8034
8034
operationId: getLinodeFirewalls
8035
8035
x-linode-cli-action: firewalls-list
8036
8036
security:
@@ -8039,7 +8039,7 @@ paths:
8039
8039
- linodes:read_only
8040
8040
responses:
8041
8041
'200':
8042
-
description: Returns a paginated list of Firewalls associated with this Linode.
8042
+
description: Returns a paginated list of Firewalls assigned to this Linode.
8043
8043
content:
8044
8044
application/json:
8045
8045
schema:
@@ -13318,11 +13318,11 @@ paths:
13318
13318
* Use the `rules` property to create inbound and outbound access rules.
13319
13319
13320
13320
* Use the `devices` property to assign the Firewall to a service and apply its Rules to the device. Requires `read_write` [User's Grants](/docs/api/account/#users-grants-view) to the device.
13321
-
Currently, Firewalls can only be assigned to Linode instances.
13321
+
Currently, Firewalls can be assigned to Linode compute instances and NodeBalancers.
13322
13322
13323
-
* A Firewall can be assigned to multiple Linode instances at a time.
13323
+
* A Firewall can be assigned to multiple services at a time.
13324
13324
13325
-
* A Linode instance can have one active, assigned Firewall at a time.
13325
+
* A service can have one active, assigned Firewall at a time.
13326
13326
Additional disabled Firewalls can be assigned to a service, but they cannot be enabled if another active Firewall is already assigned to the same service.
13327
13327
13328
13328
* Firewalls apply to all of a Linode's non-`vlan` purpose Configuration Profile Interfaces.
@@ -13337,7 +13337,7 @@ paths:
13337
13337
- oauth:
13338
13338
- firewall:read_write
13339
13339
requestBody:
13340
-
description: Creates a Firewall object that can be applied to a Linode service to filter the service's network traffic.
13340
+
description: Creates a Firewall object that can be applied to a service to filter the service's network traffic.
13341
13341
content:
13342
13342
application/json:
13343
13343
schema:
@@ -13352,7 +13352,9 @@ paths:
13352
13352
description: |
13353
13353
Devices to create for this Firewall.
13354
13354
When a Device is created, the Firewall is assigned to its associated service.
13355
-
Currently, Devices can only be created for Linode instances.
13355
+
Currently, Devices can be created for Linode compute instances and NodeBalancers.
13356
+
13357
+
Additional devices can be assigned after Firewall creation by using the [Firewall Device Create](#firewall-device-create) command.
13356
13358
properties:
13357
13359
linodes:
13358
13360
description: >
@@ -13363,6 +13365,17 @@ paths:
13363
13365
example:
13364
13366
- 123
13365
13367
- 456
13368
+
nodebalancers:
13369
+
description: |
13370
+
An array containing a NodeBalancer ID. A Firewall Device is created for the ID.
13371
+
13372
+
* Only one NodeBalancer can be assigned to a Firewall at a time.
13373
+
* Firewalls only apply to inbound TCP traffic to NodeBalancers.
13374
+
type: array
13375
+
items:
13376
+
type: integer
13377
+
example:
13378
+
- 321
13366
13379
rules:
13367
13380
required:
13368
13381
- inbound_policy
@@ -13436,8 +13449,12 @@ paths:
13436
13449
},
13437
13450
"devices": {
13438
13451
"linodes": [
13439
-
123
13440
-
]
13452
+
123,
13453
+
456
13454
+
],
13455
+
"nodebalancers": [
13456
+
321
13457
+
]
13441
13458
},
13442
13459
"tags": [
13443
13460
"example tag",
@@ -13520,7 +13537,7 @@ paths:
13520
13537
- A Firewall's Devices cannot be set with this endpoint. Instead, use the
Creates a Firewall Device, which assigns a Firewall to a service (referred to
13692
13730
as the Device's `entity`) and applies the Firewall's Rules to the device.
13693
13731
13694
-
* Currently, only Devices with an entity of type `linode` are accepted.
13732
+
* Currently, Devices with `linode` and `nodebalancer` entity types are accepted.
13695
13733
13696
-
* A Firewall can be assigned to multiple Linode instances at a time.
13734
+
* Firewalls only apply to inbound TCP traffic to NodeBalancers.
13697
13735
13698
-
* A Linode instance can have one active, assigned Firewall at a time.
13736
+
* A Firewall can be assigned to multiple services at a time.
13737
+
13738
+
* A service can have one active, assigned Firewall at a time.
13699
13739
Additional disabled Firewalls can be assigned to a service, but they cannot be enabled if another active Firewall is already assigned to the same service.
13700
13740
13701
13741
* Assigned Linodes must not have any ongoing live migrations.
@@ -13767,8 +13807,7 @@ paths:
13767
13807
summary: Firewall Device View
13768
13808
description: |
13769
13809
Returns information for a Firewall Device, which assigns a Firewall
13770
-
to a Linode service (referred to as the Device's `entity`). Currently,
13771
-
only Devices with an entity of type `linode` are accepted.
13810
+
to a service (referred to as the Device's `entity`).
13772
13811
operationId: getFirewallDevice
13773
13812
x-linode-cli-action: device-view
13774
13813
security:
@@ -13807,10 +13846,10 @@ paths:
13807
13846
- oauth:
13808
13847
- firewall:read_write
13809
13848
description: |
13810
-
Removes a Firewall Device, which removes a Firewall from the Linode service it was
13811
-
assigned to by the Device. This will remove all of the Firewall's Rules from the Linode
13812
-
service. If any other Firewalls have been assigned to the Linode service, then those Rules
13813
-
will remain in effect.
13849
+
Removes a Firewall Device, which removes a Firewall from the service it was
13850
+
assigned to by the Device. This removes all of the Firewall's Rules from the
13851
+
service. If any other Firewalls have been assigned to the service, then those Rules
13852
+
remain in effect.
13814
13853
13815
13854
* Assigned Linodes must not have any ongoing live migrations.
A resource that controls incoming and outgoing network traffic to a Linode service. Only one Firewall can be attached to a Linode at any given time.
21431
+
A resource that controls incoming and outgoing network traffic to a compute service. Only one enabled Firewall can be attached to a particular service at any given time.
21340
21432
[Create a Firewall Device](/docs/api/networking/#firewall-create)
21341
-
to assign a Firewall to a Linode service. Currently, Firewalls can only be assigned to Linode instances.
21433
+
to assign a Firewall to a service. Currently, Firewalls can assigned to Linode compute instances and NodeBalancers.
21342
21434
properties:
21343
21435
id:
21344
21436
x-linode-filterable: true
@@ -21531,8 +21623,8 @@ components:
21531
21623
FirewallDevices:
21532
21624
type: object
21533
21625
description: >
21534
-
Associates a Firewall with a Linode service. A Firewall can be assigned
21535
-
to a single Linode service at a time. Additional disabled Firewalls can be
21626
+
Associates a Firewall with a Linode or NodeBalancer service. A Firewall can be assigned
21627
+
to a single entity at a time. Additional disabled Firewalls can be
21536
21628
assigned to a service, but they cannot be enabled if another active Firewall
21537
21629
is already assigned to the same service.
21538
21630
properties:
@@ -21565,7 +21657,7 @@ components:
21565
21657
type: object
21566
21658
readOnly: true
21567
21659
description: >
21568
-
The Linode service that this Firewall has been applied to.
21660
+
The compute service that this Firewall has been applied to.
21569
21661
properties:
21570
21662
id:
21571
21663
description: The entity's ID
@@ -21576,6 +21668,7 @@ components:
21576
21668
type: string
21577
21669
enum:
21578
21670
- linode
21671
+
- nodebalancer
21579
21672
example: linode
21580
21673
label:
21581
21674
description: The entity's label.
@@ -21584,7 +21677,7 @@ components:
21584
21677
example: my-linode
21585
21678
url:
21586
21679
description: >
21587
-
The URL you can use to access this entity.
21680
+
The API URL path you can use to access this entity.
0 commit comments