Cara Melakukan Koneksi ke IPV4 dari VPS IPV6 Only

Posted on
Cara Mudah mendapatkan VPS Gratis
Cara Mudah mendapatkan VPS Gratis

Mungkin sebagian orang pada bingung mengakses dan mekalukan instalasi di VPS gratis yang disediakan oleh EUServ.com. (Baca Cara Mudah Mendapatkan VPS Gratis dari euserv.com)

Tetapi jangan bingung ada banyak jalan untuk mengakses dan melakukan instalasi di VPS yang anda dapatkan secara gratis sebelumnya.

Biasanya VPS IPV6 Only tidak dapat mengakses website yang menggunakan IPV4. Jika melakukan ping ke website lokal seperti detik.com, biasanya hasilnya adalah unresolved dikarenakan situs detik.com hanya menggunakan IPV4 saja.

Nah untuk mengakali ini kita bisa menggunakan DNS Server yang memang dikhususkan untuk menjembatani koneksi semacam ini.

Prerequirment

Cara Melakukan Koneksi ke IPV4 dari VPS IPV6 Only

Agar VPS IPV6 only anda dapat melakukan koneksi ke IPV4 ikuti langkah berikut ini.

Step 1. Login ke VPS IPV6 only anda.

Step 2. Silahkan cek IP Server anda.

Step 3. Coba lakukan download ke website yang hanya memiliki koneksi IPV4

[email protected]:~# wget https://github.com/caddyserver/caddy/releases/download/v1.0.4/caddy_v1.0.4_linux_amd64.tar.gz
--2020-04-08 16:20:07--  https://github.com/caddyserver/caddy/releases/download/v1.0.4/caddy_v1.0.4_linux_amd64.tar.gz
Resolving github.com (github.com)... 140.82.118.3
Connecting to github.com (github.com)|140.82.118.3|:443... failed: Network is unreachable.

Step 4. Jika anda memiliki kasus seperti diatas tambahkan DNS ini ke /etc/resolv.conf

nano /etc/resolv.conf

Step 5. Hapus pada bagian nameserver

Step 6. Tambahkan nameserver 2001:67c:2b0::4 dan 2001:67c:2b0::6

nameserver 2001:67c:2b0::4
nameserver 2001:67c:2b0::6

Step 7. Save dengan menekan tombol keyword ctrl + O

Step 8. Coba lakukan ping ke detik.com

[email protected]:~# ping detik.com
PING detik.com(s211-cast-211-221-49-103.detik.com (2001:67c:2b0:db32:0:1:6731:ddd3)) 56 data bytes
64 bytes from s211-cast-211-221-49-103.detik.com (2001:67c:2b0:db32:0:1:6731:ddd3): icmp_seq=1 ttl=43 time=261 ms
64 bytes from s211-cast-211-221-49-103.detik.com (2001:67c:2b0:db32:0:1:6731:ddd3): icmp_seq=2 ttl=43 time=258 ms
64 bytes from s211-cast-211-221-49-103.detik.com (2001:67c:2b0:db32:0:1:6731:ddd3): icmp_seq=3 ttl=43 time=262 ms
64 bytes from s211-cast-211-221-49-103.detik.com (2001:67c:2b0:db32:0:1:6731:ddd3): icmp_seq=4 ttl=43 time=283 ms
64 bytes from s211-cast-211-221-49-103.detik.com (2001:67c:2b0:db32:0:1:6731:ddd3): icmp_seq=5 ttl=43 time=290 ms
64 bytes from s211-cast-211-221-49-103.detik.com (2001:67c:2b0:db32:0:1:6731:ddd3): icmp_seq=6 ttl=43 time=258 ms
64 bytes from s211-cast-211-221-49-103.detik.com (2001:67c:2b0:db32:0:1:6731:ddd3): icmp_seq=7 ttl=43 time=259 ms
64 bytes from s211-cast-211-221-49-103.detik.com (2001:67c:2b0:db32:0:1:6731:ddd3): icmp_seq=8 ttl=43 time=258 ms
64 bytes from s211-cast-211-221-49-103.detik.com (2001:67c:2b0:db32:0:1:6731:ddd3): icmp_seq=9 ttl=43 time=265 ms
64 bytes from s211-cast-211-221-49-103.detik.com (2001:67c:2b0:db32:0:1:6731:ddd3): icmp_seq=10 ttl=43 time=289 ms
64 bytes from s211-cast-211-221-49-103.detik.com (2001:67c:2b0:db32:0:1:6731:ddd3): icmp_seq=11 ttl=43 time=260 ms
^C
--- detik.com ping statistics ---
11 packets transmitted, 11 received, 0% packet loss, time 15ms
rtt min/avg/max/mdev = 257.579/267.507/289.565/12.300 ms

Step 9. Jika anda sudah bisa melakukan ping dan resolve maka dipastikan anda bisa menginstall di VPS IPV6 anda

[email protected]:~# wget https://github.com/caddyserver/caddy/releases/download/v1.0                                                                                        .4/caddy_v1.0.4_linux_amd64.tar.gz -c
--2020-04-08 17:15:31--  https://github.com/caddyserver/caddy/releases/download/                                                                                        v1.0.4/caddy_v1.0.4_linux_amd64.tar.gz
Resolving github.com (github.com)... 2001:67c:2b0:db32:0:1:8c52:7604, 2001:67c:2                                                                                        b0:db32::8c52:7604, 140.82.118.4
Connecting to github.com (github.com)|2001:67c:2b0:db32:0:1:8c52:7604|:443... co                                                                                        nnected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/292076                                                                                        21/985d9900-07b4-11ea-8a83-83b0efd79a7f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-C                                                                                        redential=AKIAIWNJYAX4CSVEH53A%2F20200408%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-                                                                                        Date=20200408T151532Z&X-Amz-Expires=300&X-Amz-Signature=8913f103587fb19346d9a7a9                                                                                        c6dc075afdf9543a4bb18ec84286b100f4bb28bd&X-Amz-SignedHeaders=host&actor_id=0&res                                                                                        ponse-content-disposition=attachment%3B%20filename%3Dcaddy_v1.0.4_linux_amd64.ta                                                                                        r.gz&response-content-type=application%2Foctet-stream [following]
--2020-04-08 17:15:32--  https://github-production-release-asset-2e65be.s3.amazo                                                                                        naws.com/29207621/985d9900-07b4-11ea-8a83-83b0efd79a7f?X-Amz-Algorithm=AWS4-HMAC                                                                                        -SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200408%2Fus-east-1%2Fs3%2Faws4                                                                                        _request&X-Amz-Date=20200408T151532Z&X-Amz-Expires=300&X-Amz-Signature=8913f1035                                                                                        87fb19346d9a7a9c6dc075afdf9543a4bb18ec84286b100f4bb28bd&X-Amz-SignedHeaders=host                                                                                        &actor_id=0&response-content-disposition=attachment%3B%20filename%3Dcaddy_v1.0.4                                                                                        _linux_amd64.tar.gz&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-produc                                                                                        tion-release-asset-2e65be.s3.amazonaws.com)... 2001:67c:2b0:db32:0:1:34d8:b8db,                                                                                         52.216.184.219
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-pr                                                                                        oduction-release-asset-2e65be.s3.amazonaws.com)|2001:67c:2b0:db32:0:1:34d8:b8db|                                                                                        :443... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 11207935 (11M), 7570114 (7.2M) remaining [application/octet-stream]
Saving to: ‘caddy_v1.0.4_linux_amd64.tar.gz’

caddy_v1.0.4_linux_amd64.tar.gz            47%[+++++++++++++++++++++++++++============>                                              ]   5.09M  4.38KB/s    eta 18m 45s

Lakukan instalasi seperti biasa. misalnya anda ingin menginstall conttrol panel atau sejenisnya. Selamat mencoba Cara Melakukan Koneksi ke IPV4 dari VPS IPV6 Only ini.

Semoga bermantaat