Available in Classic
Internal servers with private IP addresses on the NAVER Cloud Platform can access external servers through a NAT Gateway using a representative public IP address. This guide explains how to log in to a customer’s Linux server on the NAVER Cloud Platform using the PuTTY application and then connect to an external server. Proceed through the following steps in order:
1. Connect to the instance server
2. Check the peer-bound private IP address
3. Access the external server
1. Connect to the instance server
Run PuTTY, enter the target server’s IP address and port number, and log in.
- The PuTTY executable can be downloaded from https://www.putty.org/.
- For detailed information about server access, see Access Server.
2. Check the peer-bound private IP address
From the Peer Host menu of the NAT Gateway, check the peer-bound private IP address corresponding to the public IP of the target server. To check:
- In the Classic environment of the NAVER Cloud Platform console, navigate to
> Services > Networking > NAT Gateway. - Click Peer Host.
- From the Peer Host list, check the peer-bound private IP address corresponding to the public IP of the target server.
3. Access the external server
From the logged-in server, access the external server using the peer-bound private IP address. The connection is established to the actual peer IP address through the NAT Gateway.
$ ssh user ID@Peer-bound private IP
You can configure the /etc/hosts file to access the peer IP address using the Peer Host name. To configure:
- Add a line to the /etc/hosts file by entering the peer-bound private IP address and the Peer Host name, and then save the file.
Example:10.10.10.10 my-external-serverEnter - Afterward, access the peer IP address using the Peer Host name.
Example: Connect by entering http://my-external-server instead of http://10.10.10.10.