Skip to content

Commit 09d6b7a

Browse files
RoRoJjcirinosclwynerda-codes
committed
Apply suggestions from code review
Co-authored-by: Jessica <113192637+jcirinosclwy@users.noreply.github.com> Co-authored-by: nerda-codes <87707325+nerda-codes@users.noreply.github.com>
1 parent 9fff0a9 commit 09d6b7a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pages/public-gateways/concepts.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ categories:
1414

1515
## Allowed IPs
1616

17-
Allowed IPs is a feature of [SSH bastion](#ssh-bastion). It allows you to specify a list of IP address ranges which should be allowed to connect to the SSH bastion and the resources behind it. All other IP address will be blocked from connecting. Find out more in the [SSH bastion](/network/public-gateways/how-to/use-ssh-bastion/#how-to-configure-allowed-ips) documentation.
17+
Allowed IPs is a feature of [SSH bastion](#ssh-bastion). It allows you to specify a list of IP address ranges which should be allowed to connect to the SSH bastion and the resources behind it. All other IP addresses will be blocked from connecting. Find out more in the [SSH bastion](/network/public-gateways/how-to/use-ssh-bastion/#how-to-configure-allowed-ips) documentation.
1818

1919
## Default route
2020

pages/public-gateways/how-to/use-ssh-bastion.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The [Allowed IPs](#how-to-configure-allowed-ips) feature lets you control which
2929
1. Click **Public Gateways** in the **Network** section of the Scaleway console side menu.
3030
2. Click the Public Gateway for which you want to activate SSH bastion. You are taken to the **Overview** page for that Public Gateway.
3131
<Lightbox src="scaleway-ssh-bastion-activate.webp" alt="" />
32-
3. Under **SSH Bastion**, use the toggle <Icon name="toggle"/> to activate the feature. A pop-up displays:
32+
3. Under **SSH Bastion**, use the toggle <Icon name="toggle"/> to activate the feature. A pop-up displays:
3333
<Lightbox src="scaleway-activate-ssh-bastion-popup.webp" alt="" />
3434
4. Enter the port that you want your SSH bastion to listen on (or leave the default port in place).
3535
<Message type="tip">
@@ -55,7 +55,7 @@ If you have deleted the default entry, you can re-add an entry for `0.0.0.0/0` a
5555

5656
### How to restrict access to certain IPs
5757

58-
To restrict connections to resources behind the bastion to specific public IPs only, you must delete the default `0.0.0.0/0` entry, and add entries for the specific IP ranges that you want to allow. Follow the steps below
58+
To restrict connections to resources behind the bastion to specific public IPs only, you must delete the default `0.0.0.0/0` entry, and add entries for the specific IP ranges that you want to allow. Follow the steps below:
5959

6060
1. Ensure you have [activated SSH bastion](#how-to-activate-ssh-bation).
6161
2. In the **Allowed IPs** list, delete the default IP range entry `0.0.0.0/0` by clicking the <Icon name="delete"/> button next to it.
@@ -129,7 +129,7 @@ Carry out the following steps to avoid the need to repeat `-J bastion@<public-IP
129129
nano ~/.ssh/config
130130
```
131131
Paste the following code into the file, then save and exit. Ensure that you make the following replacements:
132-
- `.<private-network-name>`: If your Public Gateway is in IPAM mode, this is the correct value. However, if you have a legacy gateway, you may need to replace this value with `.priv` or `<dns_local_name>` - see [above](#how-to-connect-using-the-resource's-fully-qualified-domain-name-(fqdn)).
132+
- `.<private-network-name>`: If your Public Gateway is in IPAM mode, this is the correct value. However, if you have a legacy gateway, you may need to replace this value with `.priv` or `<dns_local_name>` - see [above](#how-to-connect-using-the-resources-fully-qualified-domain-name-fqdn).
133133
- `PUBLIC_IP_OF_PUBLIC_GATEWAY`: The public IP address of your gateway
134134
- `SSH_BASTION_PORT`: The port you set when activating SSH bastion on your gateway
135135

0 commit comments

Comments
 (0)