Create a RuleSet

Creates a RuleSet. A RuleSet is a named ordered set of Cloud Firewall rules. RuleSets are designed to be reusable and are referenced in your Cloud Firewalls to help control access to network resources and services.

  • You can view the rules within RuleSets, but you don’t need to manage or modify them.

  • LKE-E automatically creates and manages RuleSets that allow its cluster nodes to access required resources.

  • RuleSets capability is available for Linodes.

  • RuleSets are versioned for auditing.

  • RuleSets can be assigned to multiple firewalls and a firewall can have multiple RuleSets. However, RuleSets can't reference other RuleSets.

  • A rulesets_add event is generated when the firewall device is added successfully.

linode-cli firewalls ruleset-create \
  --label ruleset123 \
  --description rulesetABC \
  --type "inbound"
  --rules '[{"action":"ACCEPT", "description":"ABC-NeT-RuleSet", protocol": "TCP", "ports": "22-24, 80, 443", "addresses": {"ipv4": ["192.0.2.0/24", "198.51.100.2/32"], "ipv6": ["2001:DB8::/128"]}}]'

<https://techdocs.akamai.com/cloud-computing/docs/getting-started-with-the-linode-cli>
firewall:read_write

<https://techdocs.akamai.com/linode-api/reference/get-started#oauth>
Language
Credentials
Click Try It! to start a request and see the response here!