-
Notifications
You must be signed in to change notification settings - Fork 277
docs(vpc): add network acls how to #6518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
bc0a436
docs(vpc): add network acls how to
SamyOubouaziz a76b856
docs(object-storage): update
SamyOubouaziz 3bdf413
docs(vpc): update
SamyOubouaziz 4fd54dd
docs(vpc): update
SamyOubouaziz 2176374
docs(vpc): update
SamyOubouaziz ffe600b
docs(vpc): update
SamyOubouaziz f65ec1c
docs(vpc): update
SamyOubouaziz f027e2f
Apply suggestion from @SamyOubouaziz
SamyOubouaziz 25c49e2
Apply suggestions from code review
SamyOubouaziz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,82 @@ | ||
| --- | ||
| title: How to use Network ACLs | ||
| description: This page explains how to use network access control lists (ACLs) to manage and secure traffic using routing rules for Scaleway Virtual Private Cloud. | ||
| tags: network acl access control list filter block secure traffic | ||
| dates: | ||
| validation: 2026-05-19 | ||
| posted: 2026-05-19 | ||
| --- | ||
|
|
||
| import Requirements from '@macros/iam/requirements.mdx' | ||
|
|
||
| A Network **A**ccess **C**ontrol **L**ist (ACL) is a list of stateless rules that allow you to control traffic between the different Private Networks of a VPC. By default, the list is empty, and traffic is therefore unrestricted. | ||
|
|
||
| Read more about the features and behavior of Network ACLs in our [dedicated reference content](/vpc/reference-content/understanding-nacls/). | ||
|
|
||
| <Requirements /> | ||
|
|
||
| - A Scaleway account logged into the [console](https://console.scaleway.com) | ||
| - [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization | ||
|
|
||
| ## How to create a rule | ||
|
|
||
| <Message type="note"> | ||
| Network ACL rules can target either IPv4 or IPv6 traffic, and are evaluated separately. To apply the same rule to both IPv4 and IPv6 traffic, you must create two separate rules. | ||
| </Message> | ||
|
|
||
| 1. Click **VPC** in the **Network** section of the [Scaleway console](https://console.scaleway.com/organization) side menu. A listing of your VPCs displays. | ||
|
|
||
| 2. Use the **region selector** at the top of the page to filter for the region of the VPC you want to configure, then click its name in the listing. | ||
|
|
||
| 3. Click the **Network ACL** tab. A listing of the current rules displays. | ||
|
|
||
| 4. Click **Edit rules** to enter edit mode. | ||
|
|
||
| 5. Click **+ Add IPv4 rule** or **+ Add IPv6 rule** depending on the type of traffic you want to filter. A creation wizard displays. | ||
|
|
||
| 6. Fill in the following fields to define your rule: | ||
| - **Protocol**: Select the protocol the rule applies to (`All`, `TCP`, `UDP`, or `ICMP`). | ||
| - **Source**: Enter the **IP address or range** (in CIDR notation) and the **Port or range** of the traffic source. Tick **All IPs** and/or **All ports** to match any value. | ||
| - **Destination**: Enter the **IP address or range** (in CIDR notation) and the **Port or range** of the traffic destination. Tick **All IPs** and/or **All ports** to match any value. | ||
| - **Action**: Select **Allow** to permit matching traffic, or **Deny** to block it. | ||
| - **Description** (optional): Enter a short description to help identify the rule. | ||
| - **Position in list**: Select **Add to top** or **Add to bottom** to set the rule's priority. Rules are evaluated from top to bottom, and the first matching rule applies. | ||
| - **Create inverse rule** (optional): Tick this box to automatically create a second rule with the source and destination swapped, to cover return traffic. | ||
|
|
||
| 7. Click **Add** to create the rule. The new rule displays in the listing. | ||
|
|
||
| 8. Click **Save changes** to apply your modifications. | ||
|
|
||
| ## How to manage rules | ||
|
|
||
| 1. Click **VPC** in the **Network** section of the [Scaleway console](https://console.scaleway.com/organization) side menu. A listing of your VPCs displays. | ||
|
|
||
| 2. Use the **region selector** at the top of the page to filter for the region of the VPC you want to configure, then click its name in the listing. | ||
|
|
||
| 3. Click the **Network ACL** tab. A listing of the current rules displays. | ||
|
|
||
| 4. Click **Edit rules** to enter edit mode. | ||
|
|
||
| 5. Use the up and down arrows to arrange the rules as necessary. Rules are evaluated from top to bottom, and the first matching rule applies. | ||
|
|
||
| 6. Click **Save changes** once finished. | ||
|
|
||
| Modifications to rules and rule ordering take effect immediately. | ||
|
|
||
| <Message type="note"> | ||
| Remember to apply the same rule to the other IP version if required. | ||
| </Message> | ||
|
|
||
| ## How to delete a rule | ||
|
|
||
| 1. Click **VPC** in the **Network** section of the [Scaleway console](https://console.scaleway.com/organization) side menu. A listing of your VPCs displays. | ||
|
|
||
| 2. Use the **region selector** at the top of the page to filter for the region of the VPC you want to configure, then click its name in the listing. | ||
|
|
||
| 3. Click the **Network ACL** tab. A listing of the current rules displays. | ||
|
|
||
| 4. Click **Edit rules** to enter edit mode. | ||
|
|
||
| 5. Click the <icon name="delete" /> icon next to the rule you want to delete. | ||
|
|
||
| 6. Click **Save changes** to confirm. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.