Skip to content

Commit 37a6835

Browse files
RoRoJbene2k1nerda-codes
authored
fix(pgw): note recommended solution (#3867)
* fix(pgw): ssh bastion info * fix(pgw): more * Update network/public-gateways/troubleshooting/cant-connect-to-instance-with-pn-gateway.mdx Co-authored-by: nerda-codes <[email protected]> --------- Co-authored-by: Benedikt Rollik <[email protected]> Co-authored-by: nerda-codes <[email protected]>
1 parent cf8c2dd commit 37a6835

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

network/public-gateways/troubleshooting/cant-connect-to-instance-with-pn-gateway.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ If the above two conditions are not true, there may be other factors impacting y
2424

2525
If DHCP **is** activated and your Public Gateway **is** set to advertise a default route, not being able to connect to your Instance via SSH is **expected behavior**. All the traffic towards your Instance now goes through the Public Gateway.
2626

27-
To access your Instance using SSH, either:
28-
- Use [SSH bastion](/network/public-gateways/how-to/use-ssh-bastion/), or
29-
- Create a static NAT association between a port of your Public Gateway (eg 2222) and the private IP assigned to your Instance, on the SSH port (22 by default). Then, SSH to the Public Gateway's IP on port 2222.
27+
To access your Instance using SSH in this scenario, the recommended solution is to use [SSH bastion](/network/public-gateways/how-to/use-ssh-bastion/).
28+
29+
<Message type="important">
30+
SSH bastion is the recommended solution. For advanced users only, another manual workaround is to create a static NAT association between a port of your Public Gateway (e.g. `2222`) and the private IP assigned to your Instance, on the SSH port (`22` by default). Then, SSH to the Public Gateway's IP on port `2222`.
31+
</Message>

0 commit comments

Comments
 (0)