You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/public-gateways/concepts.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ categories:
14
14
15
15
## Allowed IPs
16
16
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.
4. Enter the port that you want your SSH bastion to listen on (or leave the default port in place).
35
35
<Messagetype="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
55
55
56
56
### How to restrict access to certain IPs
57
57
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:
59
59
60
60
1. Ensure you have [activated SSH bastion](#how-to-activate-ssh-bation).
61
61
2. In the **Allowed IPs** list, delete the default IP range entry `0.0.0.0/0` by clicking the <Iconname="delete"/> button next to it.
@@ -129,7 +129,7 @@ Carry out the following steps to avoid the need to repeat `-J bastion@<public-IP
129
129
nano ~/.ssh/config
130
130
```
131
131
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).
133
133
-`PUBLIC_IP_OF_PUBLIC_GATEWAY`: The public IP address of your gateway
134
134
-`SSH_BASTION_PORT`: The port you set when activating SSH bastion on your gateway
0 commit comments