├── images
├── gcege1.png
├── gcege2.png
├── gcege3.png
├── gcege4.png
├── gcege10.png
├── gcege11.png
├── gcege12.png
├── gcege13.png
├── gcege14.png
├── gcege15.png
├── gcege16.png
├── gcege16a.png
├── gcege17.png
├── gcege18.png
├── gcege19.png
├── gcege20.png
├── gcege21.png
├── gcege22.png
├── gcege22a.png
├── gcege23.png
├── gcege24.png
├── gcege26.png
├── gcege27.png
├── gcege28.png
├── gcege29.png
├── gcege30.png
├── gcege31.png
├── gcege32.png
├── oracle1.png
├── oracle2.png
├── oracle3.png
├── oracle4.png
├── oracle5.png
└── oracle6.png
├── scripts
└── gce.sh
├── LICENSE
├── README.md
└── guides
├── OracleEnglish.md
├── OracleIndonesia.md
├── GCEIndonesia.md
└── GCEEnglish.md
/images/gcege1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege1.png
--------------------------------------------------------------------------------
/images/gcege2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege2.png
--------------------------------------------------------------------------------
/images/gcege3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege3.png
--------------------------------------------------------------------------------
/images/gcege4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege4.png
--------------------------------------------------------------------------------
/images/gcege10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege10.png
--------------------------------------------------------------------------------
/images/gcege11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege11.png
--------------------------------------------------------------------------------
/images/gcege12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege12.png
--------------------------------------------------------------------------------
/images/gcege13.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege13.png
--------------------------------------------------------------------------------
/images/gcege14.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege14.png
--------------------------------------------------------------------------------
/images/gcege15.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege15.png
--------------------------------------------------------------------------------
/images/gcege16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege16.png
--------------------------------------------------------------------------------
/images/gcege16a.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege16a.png
--------------------------------------------------------------------------------
/images/gcege17.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege17.png
--------------------------------------------------------------------------------
/images/gcege18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege18.png
--------------------------------------------------------------------------------
/images/gcege19.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege19.png
--------------------------------------------------------------------------------
/images/gcege20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege20.png
--------------------------------------------------------------------------------
/images/gcege21.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege21.png
--------------------------------------------------------------------------------
/images/gcege22.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege22.png
--------------------------------------------------------------------------------
/images/gcege22a.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege22a.png
--------------------------------------------------------------------------------
/images/gcege23.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege23.png
--------------------------------------------------------------------------------
/images/gcege24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege24.png
--------------------------------------------------------------------------------
/images/gcege26.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege26.png
--------------------------------------------------------------------------------
/images/gcege27.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege27.png
--------------------------------------------------------------------------------
/images/gcege28.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege28.png
--------------------------------------------------------------------------------
/images/gcege29.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege29.png
--------------------------------------------------------------------------------
/images/gcege30.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege30.png
--------------------------------------------------------------------------------
/images/gcege31.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege31.png
--------------------------------------------------------------------------------
/images/gcege32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/gcege32.png
--------------------------------------------------------------------------------
/images/oracle1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/oracle1.png
--------------------------------------------------------------------------------
/images/oracle2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/oracle2.png
--------------------------------------------------------------------------------
/images/oracle3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/oracle3.png
--------------------------------------------------------------------------------
/images/oracle4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/oracle4.png
--------------------------------------------------------------------------------
/images/oracle5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/oracle5.png
--------------------------------------------------------------------------------
/images/oracle6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/neneeen/own-vpn-for-everyone/HEAD/images/oracle6.png
--------------------------------------------------------------------------------
/scripts/gce.sh:
--------------------------------------------------------------------------------
1 | wget https://raw.githubusercontent.com/neneeen/openvpn-install/master/openvpn-install.sh -O openvpn-install.sh && chmod +x openvpn-install.sh && export PORT_CHOICE=2 PORT=443 APPROVE_IP=Y AUTO_INSTALL=y PROTOCOL_CHOICE=2 DNS=9 && ./openvpn-install.sh
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019 neneeen
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ## Set up your own free and cheap VPN on cloud providers
2 | ### Collection of guides to host your own VPN on free and cheap cloud providers
3 |
4 | The goal of these guides is to enable everyone, even the non-technically inclined, to set up their own VPN using the free or cheap tier from cloud providers.
5 |
6 | ## Bikin sendiri VPN gratis dan murah di cloud
7 | ### Koleksi panduan membuat sendiri VPN gratis dan murah
8 |
9 | Tujuan koleksi ini agar semua orang, termasuk yang awam, dapat membuat sendiri VPN gratis atau murah di cloud.
10 |
11 | # Guides list
12 |
13 | * Oracle Cloud [English](./guides/OracleEnglish.md)/[Indonesia](./guides/OracleIndonesia.md)
14 | * Two worldwide server (one region you pick on registration) free forever, 1 TB monthly bandwidth at 500 Mbps.
15 | * Dua server global (di satu region yang dipilih saat registrasi) gratis selamanya, bandwith 1 TB sebulan kecepatan 500 Mbps.
16 |
17 | * Google Compute Engine [English](./guides/GCEEnglish.md)/[Indonesia](./guides/GCEIndonesia.md)
18 | * Worldwide server free for 90 days, free-forever one US server with 1 GB monthly bandwidth afterwards
19 | * Gratis untuk 90 hari dengan semua server, gratis satu server di AS dengan bandwidth 1 GB per bulan setelahnya
20 |
21 | ### TODO
22 |
23 | * Add more guides for other providers with free trials (AWS, Azure, Alibaba) or cheap providers like MrVM.net ($4 per year), Inception Hosting
24 | * Get in touch with *actual* non-technically inclined person and update the guides accordingly.
25 |
26 | ### Please contribute
27 |
28 | Got question? Got an account in the providers I mentioned or other? Feel free to create new issues to discuss.
29 |
--------------------------------------------------------------------------------
/guides/OracleEnglish.md:
--------------------------------------------------------------------------------
1 | ## Requirements
2 |
3 | * A payment card (credit card/debit card that support online transaction without 3-D Secure)
4 |
5 | ## Fees
6 |
7 | * Free forever, ingress traffic is free, egress traffic maximum 10 TB per month at 500 Mbps.
8 |
9 | ## Creating Oracle Cloud account
10 |
11 | Login to https://www.oracle.com/cloud/free/ and click **Start for free**.
12 |
13 | Free tier can't change or add region after registration. Use the nearest region to your location (unless your goal is to avoid your country routing/blocking). If you have a problem with the SMS token, use the customer service chat from the site.
14 |
15 | ## Setup Bitvise client
16 |
17 | Download and install from https://www.bitvise.com/ssh-client-download
18 |
19 | ## Create VM
20 |
21 | Login to https://www.oracle.com/cloud/sign-in.html and use cloud account name that has been emailed from Oracle, then login with the username (email) and password you've picked.
22 |
23 | In Oracle console, click Create a VM instance
24 |
25 |
26 |
27 | In Image and shape section, edit and change Image to Canonical Ubuntu 20.04 Minimal.
28 |
29 | In the Add SSH keys section, click Save Private Key. Open Bitvise, click Client key manager, Import. Change filetype filter from Bitvise Keypair Files to All Files, then pick the recently downloaded file. Click Import, close the dialog, return to Oracle and click Create. Wait until instance status change from Provisioning to Running. Find Public IP Address field, click Copy
30 |
31 | Return to Bitvise, paste IP address to Host. Change Username to ubuntu, ensure Initial Method is set to publickey. Set Client Key to Auto, then click Login. In Host Key Verification dialog, click Accept and Save. After the connection is complete, click New Terminal Console
32 |
33 | In the new window, type `sudo su` and press **Enter**
34 |
35 |
36 |
37 | Copy paste the following line (to paste, click the window then right click), and press Enter
38 |
39 | `wget git.io/nenengce -O nenengce.sh && chmod +x nenengce.sh && ./nenengce.sh`
40 |
41 | Take note of the path displayed after "the configuration file is available". You'll be creating multiple profiles.
42 |
43 |
44 |
45 | Copy paste the following line
46 |
47 | `bash openvpn-install.sh`
48 |
49 |
50 |
51 | Follow the add new user (1) instruction. Each devices will need their own profile because a profile can't be used simultaneously.
52 |
53 | Press the up arrow keys and enter to repeat the command. You can have dozens of simultaneously connected profiles.
54 |
55 | In Bitvise, click New SFTP Window, select all profiles (.ovpn files) in the right side and Download. Move them all to their respective devices
56 |
57 | ## Open Network Access
58 |
59 | In Bitvise console window, run the following lines
60 |
61 | sudo iptables -I INPUT 6 -m state --state NEW -p tcp --dport 443 -j ACCEPT
62 |
63 | sudo netfilter-persistent save
64 |
65 | In Oracle, in Primary VNIC section, click Subnet. In the new window, click Default Security List, then click Add Ingress Rules, adjust the content as the following image then click Add Ingress Rules.
66 |
67 |
68 |
69 | ## Installing OpenVPN clients
70 |
71 | Download the client for each OS you use : [Windows](https://openvpn.net/client-connect-vpn-for-windows/), [Mac OS](https://openvpn.net/client-connect-vpn-for-mac-os/), [Linux](https://community.openvpn.net/openvpn/wiki/OpenvpnSoftwareRepos), [Android](https://play.google.com/store/apps/details?id=net.openvpn.openvpn) and [iOS](https://apps.apple.com/us/app/openvpn-connect/id590379981) are officially supported.
72 |
73 | Launch the OpenVPN app on your device, then import the profile file before first use.
74 |
75 |
76 |
77 | You can change the profile name, probably useful if you want to use multiple server later.
78 |
79 |
80 |
81 | The profile list will show the status of each profile you have. Connect or disconnect by toggling the switch.
82 |
83 |
84 |
85 | Verify by googling "What is my IP" or browsing sites that used to be blocked (if it's still blocked, try restarting the browser)
86 |
--------------------------------------------------------------------------------
/guides/OracleIndonesia.md:
--------------------------------------------------------------------------------
1 | Untuk yang baca ini karena thread Telkom throttling, trik ini cuma berlaku sampai Telkom juga throttle Oracle Cloud. Kalau provider sekelas Cloudflare, Digital Ocean, dan Fastly bisa mereka throttle, apalagi yang level kecil seperti Oracle.
2 |
3 | ## Prasyarat
4 |
5 | * Kartu kredit/kartu debit yang mendukung transaksi online *tanpa* 3-D Secure (hampir semua kartu kredit berlogo Visa & MasterCard, kartu debit Jenius)
6 |
7 | ## Biaya
8 |
9 | * Gratis selamanya, total traffic keluar (traffic masuk gratis) maksimum 10 TB tiap bulan.
10 |
11 | ## Membuat akun Oracle Cloud
12 |
13 | Masuk ke https://www.oracle.com/cloud/free/ dan klik **Start for free**. Oracle akan membuat dua test charge, yang pertama sekitar 1 USD, yang kedua sekitar 10 USD beberapa hari kemudian, keduanya akan dibatalkan setelahnya. Kecuali [upgrade](https://www.oracle.com/cloud/free/faq.html), Oracle *tidak akan* menarik biaya walaupun kredit gratis 200 dollar sudah habis atau 30 hari telah lewat. VM free tier tetap akan berjalan selamanya.
14 |
15 | Free tier tidak bisa mengganti/menambah region setelah pembayaran. Untuk pengguna Indonesia gunakan region Singapura.
16 |
17 | Jika menemui masalah tentang token SMS, kontak customer service chat dari situs Oracle. Setelah memasukkan informasi kartu pembayaran, proses dari Oracle bisa memakan waktu beberapa jam sebelum akun diaktifkan dan bisa membuat VM. Selama menunggu email dari Oracle yang memberikan Cloud Account name, install dulu Bitvise client
18 |
19 | ## Setup Bitvise client
20 |
21 | Download dan jalankan installer Bitvise client dari https://www.bitvise.com/ssh-client-download
22 |
23 | ## Membuat VM
24 |
25 | Masuk ke https://www.oracle.com/cloud/sign-in.html dan gunakan cloud account name dari email Oracle, lalu login dengan username (email) dan password yang sudah diset sebelumnya.
26 |
27 | Setelah masuk di console, klik Create a VM instance
28 |
29 |
30 |
31 | Di bagian Image and shape, edit dan ganti Image ke Canonical Ubuntu 20.04 Minimal.
32 |
33 | Di bagian Add SSH keys, klik Save Private Key. Buka Bitvise, klik Client key manager, Import. Ganti filetype dari Bitvise Keypair Files ke All Files, lalu pilih file yang baru didownload. Klik Import dan pastikan ada entry baru. Tutup dialog, kembali ke halaman Oracle dan klik Create. Tunggu sampai status instance berubah dari Provisioning menjadi Running. Cari field Public IP Address, klik Copy
34 |
35 | Kembali ke Bitvise, paste IP address ke Host. Ubah Username ke ubuntu, pastikan Initial Method diset ke publickey. Set Client Key ke Auto, lalu klik Login. Di dialog Host Key Verification, klik Accept and Save. Setelah koneksi sukses, klik New Terminal Console
36 |
37 | Di jendela baru yang terbuka, ketik `sudo su` dan tekan **Enter**
38 |
39 |
40 |
41 | Copy paste baris berikut (untuk paste, klik di jendela, lalu klik kanan), kemudian tekan Enter
42 |
43 | `wget git.io/nenengce -O nenengce.sh && chmod +x nenengce.sh && ./nenengce.sh`
44 |
45 | Catat path yang ditampilkan setelah "the configuration file is available". Setelah ini harus buat beberapa client profile, karena profile yang sama tidak bisa mengakses VPN bersamaan.
46 |
47 |
48 |
49 | Copy paste baris berikut
50 |
51 | `bash openvpn-install.sh`
52 |
53 |
54 |
55 | Ikuti instruksi add new user (1). Sebaiknya tiap perangkat memiliki profile sendiri, karena misal ponsel anda menggunakan profile yang sama dengan tablet, koneksi di ponsel akan terputus saat tablet memulai koneksi, dan sebaliknya.
56 |
57 | Ulangi langkah sebelumnya untuk membuat tambahan user untuk tiap perangkat yang diperlukan (untuk mengulangi perintah, tekan panah atas dan enter). Server ini secara teori bisa mendukung setidaknya lusinan koneksi bersamaan. Setelah selesai, profile-profile harus didownload.
58 |
59 | Di Bitvise, klik New SFTP Window, pilih semua profile (file .ovpn) di kanan dan Download. Pindahkan masing-masing profile ke perangkat yang diperlukan
60 |
61 | ## Membuka Akses Jaringan
62 |
63 | Di terminal console bitvise, jalankan dua baris berikut
64 |
65 | sudo iptables -I INPUT 6 -m state --state NEW -p tcp --dport 443 -j ACCEPT
66 |
67 | sudo netfilter-persistent save
68 |
69 | Di halaman Oracle, di bagian Primary VNIC, klik Subnet. Di halaman yang terbuka, klik Default Security List, lalu klik Add Ingress Rules, dan sesuaikan isinya seperti dibawah ini lalu klik Add Ingress Rules.
70 |
71 |
72 |
73 | ## Memasang OpenVPN di perangkat
74 |
75 | Di masing-masing perangkat, install OpenVPN client. [Windows](https://openvpn.net/client-connect-vpn-for-windows/), [Mac OS](https://openvpn.net/client-connect-vpn-for-mac-os/), [Linux](https://community.openvpn.net/openvpn/wiki/OpenvpnSoftwareRepos), [Android](https://play.google.com/store/apps/details?id=net.openvpn.openvpn) dan [iOS](https://apps.apple.com/us/app/openvpn-connect/id590379981) didukung secara resmi.
76 |
77 | Buka aplikasi OpenVPN di perangkat, lalu import file profile sebelum penggunaan pertama kali.
78 |
79 |
80 |
81 | Nama profile bisa diubah, berguna kalau ingin menggunakan beberapa server.
82 |
83 |
84 |
85 | Daftar profile akan menunjukkan status tiap profile. Konek atau diskonek dengan toggle switch.
86 |
87 |
88 |
89 | Pastikan dengan googling "What is my IP" atau browsing situs yang sebelumnya diblokir (jika masih diblokir, coba restart browser)
90 |
--------------------------------------------------------------------------------
/guides/GCEIndonesia.md:
--------------------------------------------------------------------------------
1 | ## Prasyarat
2 |
3 | * Akun Google
4 | * Kartu kredit/kartu debit yang mendukung transaksi online *tanpa* 3-D Secure (hampir semua kartu kredit berlogo Visa & MasterCard, kartu debit Jenius)
5 |
6 | ## Biaya
7 |
8 | * Gratis untuk 90 hari, jika total traffic dibawah ~1.9 TB, dengan hanya *satu* VM aktif
9 |
10 | * Jika kredit gratis habis, semua VM akan dimatikan. Tidak ada biaya tambahan sampai upgrade akun ke akun berbayar (bisa terkena biaya)
11 |
12 | * Dengan akun berbayar, *satu* VM dalam daerah tertentu di AS bisa [dijalankan selamanya](https://cloud.google.com/free/docs/gcp-free-tier#always-free-usage-limits) gratis, namun bandwidth gratis hanya 1 GB per bulan, tidak termasuk traffic ke RRT dan Australia (tidak ada bandwidth gratis ke RRT dan Australia), dengan biaya sampai 0.12 USD per GB setelahnya.
13 |
14 | ## Membuat akun Cloud Engine
15 |
16 | Masuk ke https://cloud.google.com dan klik **Get Started For Free**. Jika sudah punya akun Cloud Engine, langsung masuk ke [Membuat VM](#membuat-vm).
17 |
18 |
19 |
20 | Pilih negara, *kemungkinan* harus sesuai dengan kartu yang digunakan untuk pembayaran
21 |
22 |
23 |
24 | Sesuaikan tipe akun dan update informasi pajak.
25 |
26 |
27 |
28 | Kecuali sudah pernah menambahkan kartu pembayaran ke Google, masukkan nomor kartu dan mulai trial.
29 |
30 |
31 |
32 | Google akan membuat test charge (dibawah 1 USD) yang akan dibatalkan setelahnya. Kecuali [upgrade](https://cloud.google.com/free/docs/gcp-free-tier#how-to-upgrade), Google *tidak akan* menarik biaya walaupun kredit gratis 300 dollar sudah habis atau 1 tahun telah lewat. VM akan mati begitu saja, tanpa biaya tambahan.
33 |
34 | ## Membuat VM
35 |
36 | Masuk ke https://console.cloud.google.com/compute/instances
37 |
38 | Jika belum punya project, ikuti panduan untuk membuat project petama. Setelah project dibuat, klik Create
39 |
40 |
41 |
42 | Buka http://www.gcping.com/ di tab baru, biarkan berjalan sampai selesai (icon berubah ke segitiga). Catat region teratas, kecuali global
43 |
44 |
45 |
46 | Di pemilihan region VM, pilih region berdasar hasil GCPing. Ganti machine type ke **f1-micro**
47 |
48 |
49 |
50 | Pastikan untuk centang **Allow HTTPS Traffic**.
51 |
52 |
53 |
54 | Buka **Management, security, disks, networking, sole tenancy**
55 |
56 |
57 |
58 | Pindah ke tab **Networking** tab dan klik icon pensil di bawah **Network interfaces**
59 |
60 |
61 |
62 | Dibawah **External IP**, klik **Ephemeral**, dan ganti ke **Create IP Address**
63 |
64 |

65 |
66 | Namai alamat dan **Reserve**.
67 |
68 |
69 |
70 | Ganti **IP Forwarding** ke **On**, dan klik **Done**
71 |
72 |
73 |
74 | Klik **Create** di bawah
75 |
76 |
77 |
78 | ## Install OpenVPN
79 |
80 | Cek daftar VM di https://console.cloud.google.com/compute/instances. Catat IP *tepat* disebelah tombol **SSH**,lalu klik tombol **SSH**
81 |
82 |
83 |
84 | Di jendela baru yang terbuka, ketik `sudo su` dan tekan **Enter**
85 |
86 |
87 |
88 | Copy paste baris berikut (untuk paste, klik di prompt, lalu Ctrl-V), kemudian tekan Enter
89 |
90 | `wget git.io/nenengce -O nenengce.sh && chmod +x nenengce.sh && ./nenengce.sh`
91 |
92 | Catat path yang ditampilkan setelah "the configuration file is available". Setelah ini harus buat beberapa client profile, karena profile yang sama tidak bisa mengakses VPN bersamaan.
93 |
94 |
95 |
96 | Copy paste baris berikut
97 |
98 | `bash openvpn-install.sh`
99 |
100 |
101 |
102 | Ikuti instruksi add new user (1). Sebaiknya tiap perangkat memiliki profile sendiri, karena misal ponsel anda menggunakan profile yang sama dengan tablet, koneksi di ponsel akan terputus saat tablet memulai koneksi, dan sebaliknya.
103 |
104 |
105 |
106 | Ulangi langkah sebelumnya untuk membuat tambahan user untuk tiap perangkat yang diperlukan. Server ini secara teori bisa mendukung setidaknya lusinan koneksi bersamaan. Setelah selesai, profile-profile harus didownload.
107 |
108 | ## Memasang OpenVPN di perangkat
109 |
110 | Klik icon roda gigi di pojok kanan atas, dan pilih Download file
111 |
112 |
113 |
114 | Masukkan path tiap profile yang diperlukan, dan download
115 |
116 |
117 |
118 | Kirimkan/copy file .ovpn ke tiap perangkat. Di masing-masing perangkat, install OpenVPN client. [Windows](https://openvpn.net/client-connect-vpn-for-windows/), [Mac OS](https://openvpn.net/client-connect-vpn-for-mac-os/), [Linux](https://community.openvpn.net/openvpn/wiki/OpenvpnSoftwareRepos), [Android](https://play.google.com/store/apps/details?id=net.openvpn.openvpn) dan [iOS](https://apps.apple.com/us/app/openvpn-connect/id590379981) didukung secara resmi.
119 |
120 | Buka aplikasi OpenVPN di perangkat, lalu import file profile sebelum penggunaan pertama kali.
121 |
122 |
123 |
124 | Nama profile bisa diubah, berguna kalau ingin menggunakan beberapa server.
125 |
126 |
127 |
128 | Daftar profile akan menunjukkan status tiap profile. Konek atau diskonek dengan toggle switch.
129 |
130 |
131 |
132 | Pastikan dengan googling "What is my IP" atau browsing situs yang sebelumnya diblokir (jika masih diblokir, coba restart browser)
133 |
--------------------------------------------------------------------------------
/guides/GCEEnglish.md:
--------------------------------------------------------------------------------
1 | ## Requirements
2 |
3 | * A Google accounts
4 | * A payment card (credit card/debit card that support online transaction without 3-D Secure)
5 |
6 | ## Fees
7 |
8 | * Free for 90 days, assuming total traffic is less than ~1.9 TB and only *one* VM is active
9 |
10 | * If free credit run out, all VMs will immediately shutdown. No additional charges until the account is upgraded to paid account (allowing charges)
11 |
12 | * With paid account, *one* VM in limited region in US can be [run forever](https://cloud.google.com/free/docs/gcp-free-tier#always-free-usage-limits) for free, but the free bandwidth is only 1 GB per month, excluding traffic to China and Australia (as in, there's no free bandwidth to China and Australia), with up to 0.12 USD per GB afterwards
13 |
14 | ## Cloud Engine account creation
15 |
16 | Browse to https://cloud.google.com and click **Get Started For Free**. If you already have a Cloud Engine project, skip to [VM Creation](#vm-creation) step.
17 |
18 |
19 |
20 | Select the appropriate country, this *probably* must match the payment card you're going to use
21 |
22 |
23 |
24 | Adjust the account type and tax information.
25 |
26 |
27 |
28 | Unless you already add a card payment to your Google Account, insert your card number and start the trial
29 |
30 |
31 |
32 | Google will make a test charge (less than 1 USD) and revert it almost immediately. Unless you [upgrade](https://cloud.google.com/free/docs/gcp-free-tier#how-to-upgrade), Google *will not* charge you afterwards even if you ran out your complimentary 300 USD credit or one year has passed. Your VM will simply shut down after one year, with no additional charge.
33 |
34 | ## VM Creation
35 |
36 | Go to https://console.cloud.google.com/compute/instances
37 |
38 | If you don't already have a project, follow the wizard shown to create your first project. Once you have a project, click Create
39 |
40 |
41 |
42 | Open http://www.gcping.com/ on new tab, let it run until completed (the icon should change into Play triangle). Note the top region shown, except global.
43 |
44 |
45 |
46 | On the VM creation, choose the region according to GCPing result. Change the machine type to **f1-micro**
47 |
48 |
49 |
50 | Below, remember to check the **Allow HTTPS Traffic**.
51 |
52 |
53 |
54 | Expand the **Management, security, disks, networking, sole tenancy**
55 |
56 |
57 |
58 | Switch to **Networking** tab and click the pencil icon under **Network interfaces**
59 |
60 |
61 |
62 | Under **External IP**, click the **Ephemeral**, and change it to **Create IP Address**
63 |
64 |

65 |
66 | Name the address and **Reserve** it.
67 |
68 |
69 |
70 | Change **IP Forwarding** to **On**, then click **Done**
71 |
72 |
73 |
74 | Click **Create** on the bottom.
75 |
76 |
77 |
78 | ## Installing OpenVPN
79 |
80 | Check the list of VM you have on https://console.cloud.google.com/compute/instances. Take note on the IP *right* beside the **SSH** button, then click on the **SSH** button
81 |
82 |
83 |
84 | A new window will be opened. Type `sudo su` and press **Enter**
85 |
86 |
87 |
88 | Copy and paste the following line (to paste, click on the prompt, then Ctrl-V), then press Enter
89 |
90 | `wget git.io/nenengce -O nenengce.sh && chmod +x nenengce.sh && ./nenengce.sh`
91 |
92 | Note the path shown after "the configuration file is available". You will create multiple client profile later, since the same profile can't access your VPN simultaneously.
93 |
94 |
95 |
96 | Copy paste the following line
97 |
98 | `bash openvpn-install.sh`
99 |
100 | then press enter. You should be greeted with the following screen
101 |
102 |
103 |
104 | Follow the instruction to create new user. Ideally every device you own will use their own profile, because if, say your phone and tablet use the same profile, the your phone will automatically disconnect when your tablet connect, and vice versa.
105 |
106 |
107 |
108 | Repeat the previous step to create additional user for each device you need. The server you've just made in theory should support at least dozens of simultaneous connections. After you're done, you'll need to download the profiles.
109 |
110 | ## Deploying OpenVPN on devices
111 |
112 | Click gear icon on the top right, and select Download file
113 |
114 |
115 |
116 | Enter the exact path of each profile you need, and download them
117 |
118 |
119 |
120 | Distribute the .ovpn file to each corresponding device. On each device, install the OpenVPN client. [Windows](https://openvpn.net/client-connect-vpn-for-windows/), [Mac OS](https://openvpn.net/client-connect-vpn-for-mac-os/), [Linux](https://community.openvpn.net/openvpn/wiki/OpenvpnSoftwareRepos), [Android](https://play.google.com/store/apps/details?id=net.openvpn.openvpn) and [iOS](https://apps.apple.com/us/app/openvpn-connect/id590379981) are officially supported.
121 |
122 | Launch the OpenVPN app on your device, then import the profile file before first use.
123 |
124 |
125 |
126 | You can change the profile name, probably useful if you want to use multiple server later.
127 |
128 |
129 |
130 | The profile list will show the status of each profile you have. Connect or disconnect by toggling the switch.
131 |
132 |
133 |
134 | Verify by googling "What is my IP" or browsing sites that used to be blocked (if it's still blocked, try restarting the browser)
135 |
--------------------------------------------------------------------------------