# Remote Virtual Machine using Computer Terminal

To be able to control the server remotely using the terminal on the computer you are using, the next step is to add the DNAT configuration first. On the Network page, select the NAT Gateway label and press the Configuration button.

On the NAT label on the NAT Gateway page press the Create NAT button to display the Create NAT window.

In the Type column, select DNAT because VPC will provide external network access to access virtual machines on the Cloudeka portal service. For the Protocol column, select TCP and enter Translation Port TCP, namely 22 and Destination Port is the port that will be used to alias the port that Translation Port uses. In the Destination Address column, select the floating IP address that was previously created, in the Translation Address column, select the virtual machine that will use the DNAT configuration, in the Description section, it is optional for you to explain the configuration that is being created, and press the Create button to continue the process of creating the DNAT configuration. on the VPC.

Wait until the DNAT configuration process is complete.

The next step is to add incoming rule configuration to the Security menu. On the Security menu page, press the Create Security button.

Fill in the Name, Description columns, and in the Inbound Rule section press the New Rule button.

For the first inbound rule type, select Custom TCP Rule. The Port Range column for min/max corresponds to the port configured in the Destination Address during DNAT configuration.

(input gambar disini)

\\

Make sure to deploy on a virtual machine that has VPC configured and press the Create Security Firewall button to continue the process.\
Remote Virtual Machine Using Computer Terminal

(input gambar disini)

\\

Wait until the Security Group configuration process is complete.

\
Remote Virtual Machine Using Computer Terminal

(input gambar disini)

\\

Open the terminal on your computer. In this guide, use the terminal for the Windows operating system. If you are using a Mac operating system you can just type telnet \[Destination IP] \[Port]. To check whether the port that has been configured in the DNAT configuration can be used by typingTelnet on the terminal.

\
Computer Terminal

(input gambar disini)

\\

Type Open and enter the Flaoting IP address of the VPC you are using and press the Enter key.

\
Telnet Test

(input gambar disini)

\\

The message "Press any key to continue" appears, which means the IP address 103.191.14.45 can be used.

\
Result Test Telnet

(input gambar disini)

\\

This is the final step to be able to access the virtual machine using a computer terminal by opening a new computer terminal then typingssh -p\[Port] \[IP Address] then press Enter.

\
SSH Instance

(input gambar disini)

\\

Enter the password that your virtual machine uses in the Instance and the virtual machine's main page appears.

\
SSH Instance Login

(input gambar disini)

\\

\
Success SSH Instance

(input gambar disini)

\\


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/guidance-for-individual/deka-flexi/nat-gateway/remote-instance/remote-virtual-machine-using-computer-terminal.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
