Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions pages/public-gateways/how-to/configure-a-public-gateway.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: How to configure a Public Gateway
description: Learn how to configure a Public Gateway with the Scaleway console. Follow our step-by-step guide to set up routing, internet access, and SSH bastion for secure, scalable network connectivity.
tags: public-gateway public gateway dhcp nat smtp
dates:
validation: 2025-11-13
validation: 2025-11-21
posted: 2021-05-26
---
import Requirements from '@macros/iam/requirements.mdx'
Expand All @@ -21,9 +21,9 @@ This page shows you how to attach a [Public Gateway](/public-gateways/concepts/#

## How to attach a Public Gateway to a Private Network

1. Click **Public Gateways** in the **Network** section of the side menu.
1. Click **Public Gateways** in the **Network** section of the [Scaleway console](https://console.scaleway.com) side menu. A listing of your Public Gateways displays.

2. Click the Public Gateway that you want to attach to a Private Network. You are taken to the **Overview** page for that Public Gateway.
2. Use the **region selector** at the top of the page to filter for the region of the Public Gateway you want to configure, then click the Public Gateway in the listing. The Public Gateway's **Overview** page displays.

3. Click the **Private Networks** tab. A list of Private Networks attached to the Public Gateway displays. If no Private Networks are attached, the list will be empty.

Expand All @@ -45,8 +45,8 @@ Your Private Network is now attached to your Public Gateway. You can repeat the

Dynamic NAT is automatically activated. However, you can review and (if you wish) modify the NAT configuration of an existing Public Gateway as follows:

1. Click **Public Gateways** in the **Network** section of the side menu.
2. Click the Public Gateway whose configuration you wish to modify. You are taken to the **Overview** page for that Public Gateway.
1. Click **Public Gateways** in the **Network** section of the [Scaleway console](https://console.scaleway.com) side menu. A listing of your Public Gateways displays.
2. Use the **region selector** at the top of the page to filter for the region of the Public Gateway you want to configure, then click the Public Gateway in the listing. The Public Gateway's **Overview** page displays.
3. Click the **NAT** tab.
4. Use the toggle to deactivate dynamic NAT if desired. To add a new static NAT configuration for any Private Network attached to this gateway, click **Add Static NAT**. The following screen displays:
<Lightbox image={image} alt="" />
Expand All @@ -63,9 +63,9 @@ Dynamic NAT is automatically activated. However, you can review and (if you wish

By default, the SMTP ports (25, 465, 587 and 2525) on your Public Gateway are blocked to avoid spam. If you wish to send emails from resources located behind your Public Gateway, make sure those resources [have also enabled SMTP](/instances/how-to/send-emails-from-your-instance/) and then enable SMTP on your Public Gateway as follows:

1. Click **Public Gateways** in the **Network** section of the side menu.
2. Click the Public Gateway whose configuration you wish to modify, then click the **Settings** tab.
3. Scroll down to the **SMTP** panel, and use the toggle <Icon name="toggle" /> to enable SMTP.
1. Click **Public Gateways** in the **Network** section of the [Scaleway console](https://console.scaleway.com) side menu. A listing of your Public Gateways displays.
2. Use the **region selector** at the top of the page to filter for the region of the Public Gateway you want to configure, then click the Public Gateway in the listing. The Public Gateway's **Overview** page displays.
3. Click the **Settings** tab, scroll down to the **SMTP** panel, and use the toggle <Icon name="toggle" /> to enable SMTP.

<Message type="important">
See our [troubleshooting](/public-gateways/troubleshooting/cant-connect-to-instance-with-pn-gateway/) documentation if you have any problems configuring your Public Gateway.
Expand All @@ -75,9 +75,9 @@ By default, the SMTP ports (25, 465, 587 and 2525) on your Public Gateway are bl

You can enable or disable [default route advertisement](/public-gateways/concepts/#default-route) at any time.

1. Click **Public Gateways** in the **Network** section of the side menu.
2. Click the Public Gateway whose default route advertisement you wish to modify, then click the **Network** tab.
3. Use the toggle <Icon name="toggle" /> to enable or disable default route advertisement on this network.
1. Click **Public Gateways** in the **Network** section of the [Scaleway console](https://console.scaleway.com) side menu. A listing of your Public Gateways displays.
2. Use the **region selector** at the top of the page to filter for the region of the Public Gateway you want to configure, then click the Public Gateway in the listing. The Public Gateway's **Overview** page displays.
3. Click the **Private Networks** tab, then use the toggle <Icon name="toggle" /> to enable or disable default route advertisement on this network.

<Message type="important">
If you disable advertisement of a default route, any other Private Networks that were [receiving this default route](/vpc/how-to/manage-routing/#how-to-manage-default-route-scope) will no longer be able to route traffic to this Public Gateway.
Expand Down
9 changes: 5 additions & 4 deletions pages/public-gateways/how-to/delete-a-public-gateway.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: How to delete a Public Gateway
description: Find out how to safely delete a Public Gateway on Scaleway. Follow this step-by-step guide to remove gateways while preserving your network configuration.
tags: public-gateway public gateway
dates:
validation: 2025-06-20
validation: 2025-11-21
posted: 2021-05-26
---
import Requirements from '@macros/iam/requirements.mdx'
Expand All @@ -19,12 +19,13 @@ This page shows you how to delete a [Public Gateway](/public-gateways/concepts/#
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
- [Created a Public Gateway](/public-gateways/how-to/create-a-public-gateway/)

1. Click **Public Gateways** in the **Network** section of the side menu.
2. Click <Icon name="more" /> next to the Public Gateway you wish to delete, and select **Delete** from the drop-down menu.
1. Click **Public Gateways** in the **Network** section of the [Scaleway console](https://console.scaleway.com) side menu. A listing of your Public Gateways displays.
2. Use the **region selector** at the top of the page to filter for the region of the Public Gateway you want to delete.
3. Click <Icon name="more" /> next to the Public Gateway you wish to delete, and select **Delete** from the drop-down menu.
<Lightbox image={image} alt="" />
<Message type="note">
If there is an associated default route in the VPC's route table, it will automatically be deleted.
</Message>
3. Confirm the action when prompted by typing **DELETE** in the pop-up window, then click **Delete Public Gateway**.
4. Confirm the action when prompted by typing **DELETE** in the pop-up window, then click **Delete Public Gateway**.


6 changes: 3 additions & 3 deletions pages/public-gateways/how-to/upgrade-public-gateway.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: How to upgrade a Public Gateway
description: Find out how to upgrade your Scaleway Public Gateway to a more powerful commercial offer type, with just a couple of clicks in the Scaleway console.
tags: public-gateway upgrade bandwidth offer
dates:
validation: 2025-09-22
validation: 2025-11-21
posted: 2024-09-02
---
import Requirements from '@macros/iam/requirements.mdx'
Expand All @@ -17,8 +17,8 @@ This page shows you how to upgrade your Public Gateway to a superior offer type,
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
- [Created a Public Gateway](/public-gateways/how-to/create-a-public-gateway/) that is not already a PGW-XL (the most powerful offer type available).

1. Click **Public Gateways** in the **Network** section of the side menu.
2. Click the Public Gateway you want to upgrade. Its **Overview** dashboard displays.
1. Click **Public Gateways** in the **Network** section of the [Scaleway console](https://console.scaleway.com) side menu. A listing of your Public Gateways displays.
2. Use the **region selector** at the top of the page to filter for the region of the Public Gateway you want to upgrade, then click the Public Gateway in the listing. The Public Gateway's **Overview** page displays.
3. In the **Upgrade** panel, click **Upgrade**. A pop-up displays.
4. Select the [offer type](https://www.scaleway.com/en/pricing/network/#public-gateway) to upgrade to.
<Message type="note">
Expand Down
15 changes: 9 additions & 6 deletions pages/public-gateways/how-to/use-flexible-ips.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ Flexible IP addresses are public IPs that you can hold independently of any Publ

1. Click **Public Gateways** in the **Network** section of the side menu.
2. Navigate to the **Flexible IPs** tab.
3. Click <Icon name="more"/> next to the flexible IP that you want to attach to a Public Gateway. In the drop-down menu which opens, click **Attach**. Alternatively, click **Attach to Public Gateway** next to the flexible IP.
3. Use the **region selector** at the top of the page to filter for the region of the flexible IP you want to attach.
4. Click <Icon name="more"/> next to the flexible IP that you want to attach to a Public Gateway. In the drop-down menu which opens, click **Attach**. Alternatively, click **Attach to Public Gateway** next to the flexible IP.
<Lightbox image={image} alt="" />
4. Select the Public Gateway that you want to attach to this flexible IP in the pop-up window, and click **Attach flexible IP**.
5. Select the Public Gateway that you want to attach to this flexible IP in the pop-up window, and click **Attach flexible IP**.
<Lightbox image={image2} alt="" />

<Message type="note">
Expand All @@ -57,8 +58,9 @@ Flexible IP addresses are public IPs that you can hold independently of any Publ

1. Click **Public Gateways** in the **Network** section of the side menu.
2. Navigate to the **Flexible IPs** tab.
3. Click <Icon name="more"/> next to the flexible IP that you want to detach from a Public Gateway. In the drop-down menu which opens, click **Detach**.
4. Confirm the action by clicking **Detach flexible IP** in the pop-up window.
3. Use the **region selector** at the top of the page to filter for the region of the flexible IP you want to detach.
4. Click <Icon name="more"/> next to the flexible IP that you want to detach from a Public Gateway. In the drop-down menu which opens, click **Detach**.
5. Confirm the action by clicking **Detach flexible IP** in the pop-up window.

## How to delete a flexible IP address

Expand All @@ -70,8 +72,9 @@ When you no longer want one of your existing flexible IP addresses, you can dele

1. Click **Public Gateways** in the **Network** section of the side menu.
2. Navigate to the **Flexible IPs** tab.
3. Click <Icon name="more"/> next to the flexible IP that you want to detach from a Public Gateway. In the drop-down menu which opens, click **Delete**.
4. Confirm that you want to delete the flexible IP in the pop-up window which opens, by clicking **Delete flexible IP**.
3. Use the **region selector** at the top of the page to filter for the region of the flexible IP you want to delete.
4. Click <Icon name="more"/> next to the flexible IP that you want to detach from a Public Gateway. In the drop-down menu which opens, click **Delete**.
5. Confirm that you want to delete the flexible IP in the pop-up window which opens, by clicking **Delete flexible IP**.

The flexible IP is deleted.

Expand Down
18 changes: 9 additions & 9 deletions pages/public-gateways/how-to/use-ssh-bastion.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: How to use SSH bastion
description: This page explains how to use SSH bastion
tags: ssh-bastion ssh bastion activation reimport public-gateway
dates:
validation: 2025-06-20
validation: 2025-11-21
posted: 2022-03-31
---
import Requirements from '@macros/iam/requirements.mdx'
Expand Down Expand Up @@ -32,8 +32,8 @@ You can also use SSH bastion to connect to resources [receiving the Public Gatew

## How to activate SSH bastion

1. Click **Public Gateways** in the **Network** section of the Scaleway console side menu.
2. Click the Public Gateway for which you want to activate SSH bastion. You are taken to the **Overview** page for that Public Gateway.
1. Click **Public Gateways** in the **Network** section of the [Scaleway console](https://console.scaleway.com) side menu. A listing of your Public Gateways displays.
2. Use the **region selector** at the top of the page to filter for the region of the Public Gateway you want to configure, then click the Public Gateway in the listing. The Public Gateway's **Overview** page displays.
<Lightbox image={image} alt="" />
3. Under **SSH Bastion**, click **Enable SSH bastion** to activate the feature. A pop-up displays:
<Lightbox image={image2} alt="" />
Expand Down Expand Up @@ -87,8 +87,8 @@ You can delete an entry from the list at any time by clicking the <Icon name="de

If you add new SSH keys to your [Project](/organizations-and-projects/concepts/#project) after activating SSH bastion, you will need to perform a reimport to update the bastion with the new keys.

1. Click **Public Gateways** in the **Network** section of the Scaleway console side menu.
2. Click the Public Gateway for which you want to update the SSH bastion. You are taken to the **Overview** page for that Public Gateway.
1. Click **Public Gateways** in the **Network** section of the [Scaleway console](https://console.scaleway.com) side menu. A listing of your Public Gateways displays.
2. Use the **region selector** at the top of the page to filter for the region of the Public Gateway you want to configure, then click the Public Gateway in the listing. The Public Gateway's **Overview** page displays.
3. Under **SSH Bastion** click the **Reimport list** button.
<Lightbox image={image5} alt="" />

Expand Down Expand Up @@ -160,8 +160,8 @@ Carry out the following steps to avoid the need to repeat `-J bastion@<public-IP

## How to edit the SSH bastion port

1. Click **Public Gateways** in the **Network** section of the Scaleway console side menu.
2. Click the Public Gateway you want to edit SSH bastion for. You are taken to the **Overview** page for that Public Gateway.
1. Click **Public Gateways** in the **Network** section of the [Scaleway console](https://console.scaleway.com) side menu. A listing of your Public Gateways displays.
2. Use the **region selector** at the top of the page to filter for the region of the Public Gateway you want to configure, then click the Public Gateway in the listing. The Public Gateway's **Overview** page displays.
3. Under **SSH Bastion** click **Edit**, next to the port number. A pop-up displays.
4. Edit your SSH bastion port as required.
5. Click **Save**.
Expand All @@ -170,8 +170,8 @@ Carry out the following steps to avoid the need to repeat `-J bastion@<public-IP

## How to deactivate SSH bastion

1. Click **Public Gateways** in the **Network** section of the Scaleway console side menu.
2. Click the Public Gateway you want to deactivate SSH bastion on. You are taken to the **Overview** page for that Public Gateway.
1. Click **Public Gateways** in the **Network** section of the [Scaleway console](https://console.scaleway.com) side menu. A listing of your Public Gateways displays.
2. Use the **region selector** at the top of the page to filter for the region of the Public Gateway you want to configure, then click the Public Gateway in the listing. The Public Gateway's **Overview** page displays.
3. Under **SSH Bastion** use the toggle <Icon name="toggle"/> to deactivate the bastion.

SSH bastion is deactivated on this gateway. You can reactivate it at any time.
Expand Down
10 changes: 5 additions & 5 deletions pages/public-gateways/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Public Gateways - Quickstart
description: Learn how to quickly set up and configure a Public Gateway on Scaleway. Follow this step-by-step guide to manage internet access and secure your network with ease.
tags: private-network private network public-gateway public-gateway egress
dates:
validation: 2025-06-20
validation: 2025-11-21
posted: 2021-05-26
---
import Requirements from '@macros/iam/requirements.mdx'
Expand Down Expand Up @@ -38,8 +38,8 @@ Follow this guided tour to discover how to navigate the console.

## How to attach your Public Gateway to a Private Network

1. Click **Public Gateways** in the **Network** section of the side menu.
2. Click the Public Gateway that you want to attach to a Private Network. You are taken to the **Overview** page for that Public Gateway.
1. Click **Public Gateways** in the **Network** section of the [Scaleway console](https://console.scaleway.com) side menu. A listing of your Public Gateways displays.
2. Use the **region selector** at the top of the page to filter for the region of the Public Gateway you want to configure, then click the Public Gateway in the listing. The Public Gateway's **Overview** page displays.
3. Click the **Private Networks** tab. A list of Private Networks attached to the Public Gateway displays.
4. Click **Attach to a Private Network** to attach a new Private Network to the Public Gateway. A pop-up displays.
5. Select an existing Private Network from the list, or select **Create a new Private Network**.
Expand All @@ -56,8 +56,8 @@ Follow this guided tour to discover how to navigate the console.

When you activate SSH bastion on your Public Gateway, all [SSH keys held in your Project](https://console.scaleway.com/project/ssh-keys/) are imported to the SSH bastion. This provides a single point of entry to Instances and other resources behind the bastion, allowing you to connect to them via the Public Gateway, instead of via their public IP addresses.

1. Click **Public Gateways** in the **Network** section of the Scaleway console side menu.
2. Click the Public Gateway for which you want to activate SSH bastion. You are taken to the **Overview** page for that Public Gateway.
1. Click **Public Gateways** in the **Network** section of the [Scaleway console](https://console.scaleway.com) side menu. A listing of your Public Gateways displays.
2. Use the **region selector** at the top of the page to filter for the region of the Public Gateway you want to configure, then click the Public Gateway in the listing. The Public Gateway's **Overview** page displays.
3. Under **SSH Bastion**, click **Enable SSH bastion**. A pop-up displays.
4. Enter the port that you want your SSH bastion to listen on (or leave the default port in place).
<Message type="tip">
Expand Down