put https://api.linode.com//networking/firewalls/settings
Beta You can update or add a default firewall to:
-
Linodes using legacy config profile interfaces
-
Linode VPC interfaces and Linode public interfaces
-
NodeBalancers
If a firewall isn't provided during service creation, a default firewall is assigned, unless you have opted out of firewall protection.
Default firewalls on Linodes with Linode interfaces are applied to the interfaces, not the Linode itself.
Default firewalls on Linodes with legacy configuration profile interfaces are applied directly to the Linode, not its interfaces.
linode-cli firewalls firewall-settings-update \
--default_firewall_ids.vpc_interface 1 \
--default_firewall_ids.public_interface 2 \
--default_firewall_ids.nodebalancer 3 \
--default_firewall_ids.linode 5
Learn more...
account:read_write
Learn more...
Responses