# Remote Instance using Putty

In this guide we will run virtual remote control of the Cloudeka portal service machine using PuTTY from your computer.

{% hint style="warning" %}
To run remote control of virtual machines using putty, make sure you have done the following configuration:\
a. [Create ](/deka_flexi/deka-flexi-network/6.1_vpc_network/create-vpc-network.md)[VPC](/deka_flexi/deka-flexi-network/6.1_vpc_network/create-vpc-network.md).\
b. [OpenVPN ](/deka_flexi/deka-vpn/openvpn-configuration.md)[Configuring](/deka_flexi/deka-vpn/openvpn-configuration.md)\
c. [IPsec Configuring](/deka_flexi/deka-vpn/ipsec-configuration.md)
{% endhint %}

The case examples used in this guide are two projects, each of which has a virtual machine on an Instance in the Cloudeka portal service. The following IP addresses are used in each project.

<table data-header-hidden><thead><tr><th width="275.3333333333333"></th><th></th><th></th></tr></thead><tbody><tr><td><strong>Column</strong></td><td><strong>Project A</strong></td><td><strong>Project B</strong></td></tr><tr><td>(a) VPN - Floating IP</td><td>103.191.14.149</td><td>103.168.135.220</td></tr><tr><td>(b) VPN - Network</td><td>10.10.10.0</td><td>10.20.20.0</td></tr><tr><td>(c)VPN - Network OpenVPN</td><td>20.20.20.0/24</td><td>-</td></tr><tr><td>(d) Instance - Gateway IP</td><td>10.10.10.1</td><td>10.20.20.1</td></tr><tr><td>(e) Instance - Internal IP</td><td>10.10.10.55</td><td>10.20.20.6</td></tr></tbody></table>

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.80%20proyekA-IPsec%20-%20Copy.png" alt=""><figcaption><p>Project A, Project B - Floating IP &#x26; Network</p></figcaption></figure>

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.81%20proyekA-OpenVPN.png" alt=""><figcaption><p>Project A - Network OpenVPN</p></figcaption></figure>

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.82%20proyekA-Instance%20-%20Copy.png" alt=""><figcaption><p>Project A, Project B - Gateway IP &#x26; Internal IP</p></figcaption></figure>

Here are the steps to run remote control of virtual machines in the Cloudeka portal service using PuTTY:

* Make an OpenVPN connection using Viscosity Inline from Project A.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.83%20connect.png" alt=""><figcaption><p>Remote Instance using Putty (a)</p></figcaption></figure>

* Enter the Username and Password used according to the OpenVPN User list in Project A.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.84%20login.png" alt=""><figcaption><p>Remote Instance using Putty (b)</p></figcaption></figure>

* Run putty on your computer. Enter the IP address used by the virtual machine in Project A.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.85%20putty.png" alt=""><figcaption><p>Remote Instance using Putty (c)</p></figcaption></figure>

* Press the Accept button to enter the Project A virtual machine.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.86%20credential.png" alt=""><figcaption><p>Remote Instance using Putty (d)</p></figcaption></figure>

* Enter the username and password used by the virtual machine.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.87%20login.png" alt=""><figcaption><p>Remote Instance using Putty (e)</p></figcaption></figure>

* You have successfully logged into the Project A virtual machine.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.88%20login-instance.png" alt=""><figcaption><p>Remote Instance using Putty (f)</p></figcaption></figure>

To be able to test the connection to Project B, you must conImage Security on Project A on the Cloudeka portal service, namely adding the IP address of the subnet used by Project B.

* On the Project A page in the Cloudeka Portal service, select the Security menu and press the Edit button to make configuration changes.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.89%20sec-add-ip.png" alt=""><figcaption><p>Remote Instance using Putty (g)</p></figcaption></figure>

* On the Edit Security page, you will add two new rules to Inbound by pressing the New Rule button.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.90%20sec-add-ip.png" alt=""><figcaption><p>Remote Instance using Putty (h)</p></figcaption></figure>

* The first type of rule is SSH, while the second type of rule is All ICMP Rule. In each Source column for both Types, enter the IP address of the subnet used by Project B, namely 10.20.20.0/24.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.91%20sec-add-ip.png" alt=""><figcaption><p>Remote Instance using Putty (i)</p></figcaption></figure>

* Press the Save button to save changes.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.92%20sec-add-ip.png" alt=""><figcaption><p>Remote Instance using Putty (j)</p></figcaption></figure>

* Do the same steps to conImage Security on Project B by adding the subnet IP address on Project A, namely 10.10.10.0/24.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.93%20sec-add-ip.png" alt=""><figcaption><p>Remote Instance using Putty (k)</p></figcaption></figure>

* Enable IPsec on Project A, make sure the IP address used is the Project B subnet.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.94%20sec-add-ip.png" alt=""><figcaption><p>Remote Instance using Putty (l)</p></figcaption></figure>

* Test the connection via Putty from the Project A virtual machine to the Project B virtual machine by inputting the following syntax: ping 10.20.20.6.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.95%20sec-add-ip.png" alt=""><figcaption><p>Remote Instance using Putty (m)</p></figcaption></figure>

* The results of testing the network connection to the Project B virtual machine were completed in 3005 milliseconds (± 3 seconds).

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.96%20sec-add-ip.png" alt=""><figcaption><p>Remote Instance using Putty (n)</p></figcaption></figure>


---

# Agent Instructions: 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.id/deka_flexi/deka-vpn/remote-instance-using-putty.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.
