{"id":30460,"date":"2026-03-16T09:28:14","date_gmt":"2026-03-16T09:28:14","guid":{"rendered":"https:\/\/hosteko.com\/blog\/?p=30460"},"modified":"2026-03-16T09:28:14","modified_gmt":"2026-03-16T09:28:14","slug":"cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula","status":"publish","type":"post","link":"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula","title":{"rendered":"Cara Config OpenVPN Server di VPS Ubuntu Lengkap untuk Pemula"},"content":{"rendered":"<p data-start=\"75\" data-end=\"360\">Keamanan koneksi internet menjadi hal yang sangat penting, terutama ketika mengakses jaringan dari lokasi publik atau saat mengelola server secara jarak jauh. Salah satu solusi yang sering digunakan untuk meningkatkan keamanan jaringan adalah menggunakan VPN (Virtual Private Network).<\/p>\n<p data-start=\"362\" data-end=\"585\">Salah satu software VPN yang populer dan banyak digunakan adalah <span class=\"hover:entity-accent entity-underline inline cursor-pointer align-baseline\"><span class=\"whitespace-normal\">OpenVPN<\/span><\/span>. Dengan OpenVPN, Anda dapat membuat koneksi jaringan yang aman antara perangkat pengguna dengan server melalui internet.<\/p>\n<p data-start=\"587\" data-end=\"742\">Artikel ini akan membahas secara lengkap cara config OpenVPN Server di VPS Ubuntu, mulai dari instalasi hingga cara menghubungkan client ke server VPN.<\/p>\n<h2 data-section-id=\"i1x30d\" data-start=\"749\" data-end=\"767\">Apa Itu OpenVPN?<\/h2>\n<p><span class=\"hover:entity-accent entity-underline inline cursor-pointer align-baseline\"><span class=\"whitespace-normal\">OpenVPN<\/span><\/span> adalah software <em data-start=\"54\" data-end=\"67\">open source<\/em> yang digunakan untuk membuat jaringan VPN (Virtual Private Network) yang aman melalui protokol SSL\/TLS. Dengan menggunakan OpenVPN, pengguna dapat mengakses jaringan melalui internet secara lebih aman karena seluruh data yang dikirimkan akan dilindungi dengan sistem enkripsi yang kuat.<\/p>\n<p>Teknologi ini memungkinkan koneksi yang aman antara perangkat pengguna dengan server, sehingga sering dimanfaatkan untuk mengamankan koneksi internet, mengakses server secara remote dengan lebih aman, menghubungkan beberapa jaringan melalui VPN, serta melindungi data dari risiko penyadapan.<\/p>\n<p>Karena stabil, aman, dan relatif mudah dikonfigurasi, OpenVPN juga banyak digunakan pada server berbasis Linux seperti <span class=\"hover:entity-accent entity-underline inline cursor-pointer align-baseline\"><span class=\"whitespace-normal\">Ubuntu<\/span><\/span> untuk kebutuhan jaringan dan keamanan sistem.<\/p>\n<h2 data-section-id=\"51oycd\" data-start=\"1395\" data-end=\"1430\">Persiapan Sebelum Install OpenVPN<\/h2>\n<p data-start=\"1432\" data-end=\"1523\">Sebelum melakukan konfigurasi OpenVPN di VPS, pastikan beberapa hal berikut sudah tersedia:<\/p>\n<ol data-start=\"1525\" data-end=\"1707\">\n<li data-section-id=\"z5k20j\" data-start=\"1525\" data-end=\"1591\">\n<p data-start=\"1528\" data-end=\"1591\">VPS dengan sistem operasi <span class=\"hover:entity-accent entity-underline inline cursor-pointer align-baseline\"><span class=\"whitespace-normal\">Ubuntu<\/span><\/span><\/p>\n<\/li>\n<li data-section-id=\"qxz77g\" data-start=\"1592\" data-end=\"1623\">\n<p data-start=\"1595\" data-end=\"1623\">Akses root atau sudo<\/p>\n<\/li>\n<li data-section-id=\"zvh6l5\" data-start=\"1624\" data-end=\"1648\">\n<p data-start=\"1627\" data-end=\"1648\">IP publik pada server<\/p>\n<\/li>\n<li data-section-id=\"19uoyfn\" data-start=\"1649\" data-end=\"1671\">\n<p data-start=\"1652\" data-end=\"1671\">Akses SSH ke server<\/p>\n<\/li>\n<li data-section-id=\"1tclr0d\" data-start=\"1672\" data-end=\"1707\">\n<p data-start=\"1675\" data-end=\"1707\">Firewall VPS sudah dikonfigurasi<\/p>\n<\/li>\n<\/ol>\n<p data-start=\"1709\" data-end=\"1787\">Jika semua persiapan sudah siap, Anda dapat mulai melakukan instalasi OpenVPN.<\/p>\n<h2 data-section-id=\"nlon13\" data-start=\"1794\" data-end=\"1813\">Update Sistem VPS<\/h2>\n<p data-start=\"1815\" data-end=\"1903\">Langkah pertama adalah memperbarui sistem server agar semua paket dalam kondisi terbaru.<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse\/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback\">\n<div class=\"\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037ck \u037cy\" dir=\"ltr\">\n<div class=\"cm-scroller\">\n<div class=\"cm-content q9tKkq_readonly\"><span class=\"\u037cs\">sudo<\/span> apt update<br \/>\n<span class=\"\u037cs\">sudo<\/span> apt upgrade <span class=\"\u037cu\">-y\u00a0\u00a0<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"1954\" data-end=\"2021\">Perintah ini akan memperbarui repository dan paket sistem pada VPS.<\/p>\n<h2 data-section-id=\"1m34oxf\" data-start=\"2028\" data-end=\"2058\">Install OpenVPN dan Easy-RSA<\/h2>\n<p data-start=\"2060\" data-end=\"2132\">Selanjutnya install OpenVPN dan tools untuk membuat sertifikat keamanan.<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse\/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback\">\n<div class=\"\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037ck \u037cy\" dir=\"ltr\">\n<div class=\"cm-scroller\">\n<div class=\"cm-content q9tKkq_readonly\"><span class=\"\u037cs\">sudo<\/span> apt install openvpn easy-rsa <span class=\"\u037cu\">-y<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"2184\" data-end=\"2289\">Package easy-rsa digunakan untuk membuat certificate authority (CA) yang dibutuhkan oleh OpenVPN.<\/p>\n<h2 data-section-id=\"1gcuiur\" data-start=\"2296\" data-end=\"2324\">Membuat Direktori Easy-RSA<\/h2>\n<p data-start=\"2326\" data-end=\"2380\">Buat direktori untuk menyimpan konfigurasi sertifikat.<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse\/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback\">\n<div class=\"\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037ck \u037cy\" dir=\"ltr\">\n<div class=\"cm-scroller\">\n<div class=\"cm-content q9tKkq_readonly\">make-cadir ~\/openvpn-ca<br \/>\n<span class=\"\u037cs\">cd<\/span> ~\/openvpn-ca<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"2435\" data-end=\"2511\">Direktori ini akan digunakan untuk membuat berbagai sertifikat keamanan VPN.<\/p>\n<h2 data-section-id=\"1s5x66u\" data-start=\"2518\" data-end=\"2551\">Konfigurasi Variabel Sertifikat<\/h2>\n<p data-start=\"2553\" data-end=\"2584\">Edit file konfigurasi Easy-RSA.<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse\/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback\">\n<div class=\"\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037ck \u037cy\" dir=\"ltr\">\n<div class=\"cm-scroller\">\n<div class=\"cm-content q9tKkq_readonly\">nano vars<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"2609\" data-end=\"2641\">Ubah beberapa informasi seperti:<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse\/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback\">\n<div class=\"pe-11 pt-3\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037ck \u037cy\" dir=\"ltr\">\n<div class=\"cm-scroller\">\n<div class=\"cm-content q9tKkq_readonly\">set_var EASYRSA_REQ_COUNTRY &#8220;ID&#8221;<br \/>\nset_var EASYRSA_REQ_PROVINCE &#8220;Jawa&#8221;<br \/>\nset_var EASYRSA_REQ_CITY &#8220;Jakarta&#8221;<br \/>\nset_var EASYRSA_REQ_ORG &#8220;MyVPN&#8221;<br \/>\nset_var EASYRSA_REQ_EMAIL &#8220;admin@example.com&#8221;<br \/>\nset_var EASYRSA_REQ_OU &#8220;IT&#8221;<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"2893\" data-end=\"2921\">Simpan konfigurasi tersebut.<\/p>\n<h2 data-section-id=\"1f6zrvq\" data-start=\"2928\" data-end=\"2964\">Membuat Certificate Authority (CA)<\/h2>\n<p data-start=\"2966\" data-end=\"3026\">Selanjutnya buat Certificate Authority untuk server VPN.<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse\/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback\">\n<div class=\"\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037ck \u037cy\" dir=\"ltr\">\n<div class=\"cm-scroller\">\n<div class=\"cm-content q9tKkq_readonly\">.\/easyrsa init-pki<br \/>\n.\/easyrsa build-ca<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"3079\" data-end=\"3124\">Anda akan diminta memasukkan password CA.<\/p>\n<p data-start=\"3126\" data-end=\"3204\">Certificate Authority ini digunakan untuk menandatangani semua sertifikat VPN.<\/p>\n<h2 data-section-id=\"1lqdp2k\" data-start=\"3211\" data-end=\"3238\">Membuat Sertifikat Server<\/h2>\n<p data-start=\"3240\" data-end=\"3277\">Buat sertifikat untuk server OpenVPN.<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse\/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback\">\n<div class=\"\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037ck \u037cy\" dir=\"ltr\">\n<div class=\"cm-scroller\">\n<div class=\"cm-content q9tKkq_readonly\">.\/easyrsa gen-req server nopass<br \/>\n.\/easyrsa sign-req server server<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"\">\n<div class=\"\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"3357\" data-end=\"3384\">Konfirmasi dengan mengetik:<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse\/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback\">\n<div class=\"pe-11 pt-3\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037ck \u037cy\" dir=\"ltr\">\n<div class=\"cm-scroller\">\n<div class=\"cm-content q9tKkq_readonly\">yes<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"3399\" data-end=\"3450\">Setelah itu sertifikat server akan berhasil dibuat.<\/p>\n<h2 data-section-id=\"1b975kg\" data-start=\"3457\" data-end=\"3484\">Membuat Sertifikat Client<\/h2>\n<p data-start=\"3486\" data-end=\"3561\">Agar pengguna dapat terhubung ke VPN, Anda perlu membuat sertifikat client.<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse\/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback\">\n<div class=\"\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037ck \u037cy\" dir=\"ltr\">\n<div class=\"cm-scroller\">\n<div class=\"cm-content q9tKkq_readonly\">.\/easyrsa gen-req client1 nopass<br \/>\n.\/easyrsa sign-req client client1<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"3643\" data-end=\"3704\">File sertifikat ini nantinya digunakan oleh perangkat client.<\/p>\n<h2 data-section-id=\"kl4fat\" data-start=\"3711\" data-end=\"3739\">Membuat Diffie-Hellman Key<\/h2>\n<p data-start=\"3741\" data-end=\"3781\">Selanjutnya buat file keamanan tambahan.<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse\/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback\">\n<div class=\"\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037ck \u037cy\" dir=\"ltr\">\n<div class=\"cm-scroller\">\n<div class=\"cm-content q9tKkq_readonly\">.\/easyrsa gen-dh<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"3813\" data-end=\"3913\">Proses ini akan menghasilkan file dh.pem yang digunakan untuk meningkatkan keamanan koneksi VPN.<\/p>\n<h2 data-section-id=\"1ohxpmp\" data-start=\"3920\" data-end=\"3948\">Konfigurasi OpenVPN Server<\/h2>\n<p data-start=\"3950\" data-end=\"3989\">Salin file konfigurasi default OpenVPN.<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse\/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback\">\n<div class=\"\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037ck \u037cy\" dir=\"ltr\">\n<div class=\"cm-scroller\">\n<div class=\"cm-content q9tKkq_readonly\"><span class=\"\u037cs\">sudo<\/span> <span class=\"\u037cs\">cp<\/span> \/usr\/share\/doc\/openvpn\/examples\/sample-config-files\/server.conf \/etc\/openvpn\/<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"4090\" data-end=\"4121\">Edit file konfigurasi tersebut.<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse\/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback\">\n<div class=\"\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037ck \u037cy\" dir=\"ltr\">\n<div class=\"cm-scroller\">\n<div class=\"cm-content q9tKkq_readonly\"><span class=\"\u037cs\">sudo<\/span> nano \/etc\/openvpn\/server.conf<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"4171\" data-end=\"4215\">Pastikan beberapa konfigurasi berikut aktif:<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse\/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback\">\n<div class=\"pe-11 pt-3\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037ck \u037cy\" dir=\"ltr\">\n<div class=\"cm-scroller\">\n<div class=\"cm-content q9tKkq_readonly\">port 1194<br \/>\nproto udp<br \/>\ndev tun<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"4254\" data-end=\"4304\">Kemudian sesuaikan lokasi file sertifikat seperti:<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse\/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback\">\n<div class=\"pe-11 pt-3\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037ck \u037cy\" dir=\"ltr\">\n<div class=\"cm-scroller\">\n<div class=\"cm-content q9tKkq_readonly\">ca ca.crt<br \/>\ncert server.crt<br \/>\nkey server.key<br \/>\ndh dh.pem<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"4366\" data-end=\"4383\">Simpan perubahan.<\/p>\n<h2 data-section-id=\"1qni0q8\" data-start=\"4390\" data-end=\"4418\">Mengaktifkan IP Forwarding<\/h2>\n<p data-start=\"4420\" data-end=\"4486\">Agar VPN dapat meneruskan trafik jaringan, aktifkan IP forwarding.<\/p>\n<p data-start=\"4488\" data-end=\"4506\">Edit file berikut:<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse\/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback\">\n<div class=\"\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037ck \u037cy\" dir=\"ltr\">\n<div class=\"cm-scroller\">\n<div class=\"cm-content q9tKkq_readonly\"><span class=\"\u037cs\">sudo<\/span> nano \/etc\/sysctl.conf<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"4548\" data-end=\"4553\">Ubah:<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse\/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback\">\n<div class=\"pe-11 pt-3\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037ck \u037cy\" dir=\"ltr\">\n<div class=\"cm-scroller\">\n<div class=\"cm-content q9tKkq_readonly\">net.ipv4.ip_forward=1<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"4586\" data-end=\"4607\">Aktifkan konfigurasi:<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse\/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback\">\n<div class=\"\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037ck \u037cy\" dir=\"ltr\">\n<div class=\"cm-scroller\">\n<div class=\"cm-content q9tKkq_readonly\"><span class=\"\u037cs\">sudo<\/span> sysctl <span class=\"\u037cu\">-p<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h2 data-section-id=\"1gm8zjq\" data-start=\"4642\" data-end=\"4664\">Konfigurasi Firewall<\/h2>\n<p data-start=\"4666\" data-end=\"4732\">Jika menggunakan firewall seperti UFW, tambahkan rule berikut.<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse\/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback\">\n<div class=\"\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037ck \u037cy\" dir=\"ltr\">\n<div class=\"cm-scroller\">\n<div class=\"cm-content q9tKkq_readonly\"><span class=\"\u037cs\">sudo<\/span> ufw allow <span class=\"\u037cq\">1194<\/span>\/udp<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"4771\" data-end=\"4815\">Kemudian aktifkan firewall jika belum aktif.<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse\/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback\">\n<div class=\"\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037ck \u037cy\" dir=\"ltr\">\n<div class=\"cm-scroller\">\n<div class=\"cm-content q9tKkq_readonly\"><span class=\"\u037cs\">sudo<\/span> ufw enable<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h2 data-section-id=\"12liv05\" data-start=\"4851\" data-end=\"4879\">Menjalankan OpenVPN Server<\/h2>\n<p data-start=\"4881\" data-end=\"4915\">Sekarang jalankan layanan OpenVPN.<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse\/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback\">\n<div class=\"\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037ck \u037cy\" dir=\"ltr\">\n<div class=\"cm-scroller\">\n<div class=\"cm-content q9tKkq_readonly\"><span class=\"\u037cs\">sudo<\/span> systemctl <span class=\"\u037cs\">start<\/span> openvpn@server<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"4966\" data-end=\"5009\">Agar otomatis berjalan saat server booting:<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse\/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback\">\n<div class=\"\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037ck \u037cy\" dir=\"ltr\">\n<div class=\"cm-scroller\">\n<div class=\"cm-content q9tKkq_readonly\"><span class=\"\u037cs\">sudo<\/span> systemctl enable openvpn@server<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"5061\" data-end=\"5080\">Cek status OpenVPN:<\/p>\n<div class=\"relative w-full mt-4 mb-1\">\n<div class=\"\">\n<div class=\"relative\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"h-full min-h-0 min-w-0\">\n<div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\">\n<div class=\"h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse\/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback\">\n<div class=\"\">\n<div class=\"relative z-0 flex max-w-full\">\n<div id=\"code-block-viewer\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037ck \u037cy\" dir=\"ltr\">\n<div class=\"cm-scroller\">\n<div class=\"cm-content q9tKkq_readonly\"><span class=\"\u037cs\">sudo<\/span> systemctl status openvpn@server<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"\">\n<div class=\"\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"5132\" data-end=\"5207\">Jika statusnya active (running) berarti server VPN berhasil dijalankan.<\/p>\n<h2 data-section-id=\"grg4u7\" data-start=\"5214\" data-end=\"5243\">Menghubungkan Client ke VPN<\/h2>\n<p data-start=\"5245\" data-end=\"5330\">Untuk menghubungkan perangkat ke VPN, Anda dapat menggunakan aplikasi client seperti:<\/p>\n<ul data-start=\"5332\" data-end=\"5451\">\n<li data-section-id=\"1fetjdh\" data-start=\"5332\" data-end=\"5371\">\n<p data-start=\"5334\" data-end=\"5371\"><span class=\"hover:entity-accent entity-underline inline cursor-pointer align-baseline\"><span class=\"whitespace-normal\">OpenVPN Connect<\/span><\/span><\/p>\n<\/li>\n<li data-section-id=\"16uh11\" data-start=\"5372\" data-end=\"5411\">\n<p data-start=\"5374\" data-end=\"5411\"><span class=\"hover:entity-accent entity-underline inline cursor-pointer align-baseline\"><span class=\"whitespace-normal\">OpenVPN GUI<\/span><\/span><\/p>\n<\/li>\n<li data-section-id=\"btvcid\" data-start=\"5412\" data-end=\"5451\">\n<p data-start=\"5414\" data-end=\"5451\"><span class=\"hover:entity-accent entity-underline inline cursor-pointer align-baseline\"><span class=\"whitespace-normal\">Tunnelblick<\/span><\/span><\/p>\n<\/li>\n<\/ul>\n<p data-start=\"5453\" data-end=\"5538\">Import file konfigurasi client yang telah dibuat sebelumnya ke aplikasi VPN tersebut.<\/p>\n<p data-start=\"5540\" data-end=\"5603\">Setelah itu pengguna dapat terhubung ke server VPN secara aman.<\/p>\n<h2 data-section-id=\"h2nizt\" data-start=\"5610\" data-end=\"5641\">Kelebihan Menggunakan OpenVPN<\/h2>\n<p data-start=\"5643\" data-end=\"5678\">Berikut beberapa kelebihan OpenVPN:<\/p>\n<p data-section-id=\"1lp7vwh\" data-start=\"5680\" data-end=\"5702\"><strong>1. Keamanan Tinggi<\/strong><\/p>\n<p data-start=\"5703\" data-end=\"5754\">Menggunakan enkripsi SSL\/TLS untuk melindungi data.<\/p>\n<p data-section-id=\"k9dxv7\" data-start=\"5756\" data-end=\"5774\"><strong>2. Open Source<\/strong><\/p>\n<p data-start=\"5775\" data-end=\"5843\">OpenVPN bersifat open source sehingga dapat digunakan secara gratis.<\/p>\n<p data-section-id=\"1ks9m9w\" data-start=\"5845\" data-end=\"5872\"><strong>3. Stabil dan Fleksibel<\/strong><\/p>\n<p data-start=\"5873\" data-end=\"5952\">Dapat digunakan pada berbagai sistem operasi seperti Linux, Windows, dan macOS.<\/p>\n<p data-section-id=\"1tvcgi7\" data-start=\"5954\" data-end=\"5985\"><strong>4. Dukungan Komunitas Besar<\/strong><\/p>\n<p data-start=\"5986\" data-end=\"6051\">Banyak dokumentasi dan komunitas yang membantu dalam konfigurasi.<\/p>\n<h2 data-section-id=\"1vdo91b\" data-start=\"6058\" data-end=\"6078\">Kekurangan OpenVPN<\/h2>\n<p data-start=\"6080\" data-end=\"6140\">Selain kelebihan, OpenVPN juga memiliki beberapa kekurangan.<\/p>\n<p data-section-id=\"1iwwclz\" data-start=\"6142\" data-end=\"6175\"><strong>1. Konfigurasi Cukup Kompleks<\/strong><\/p>\n<p data-start=\"6176\" data-end=\"6237\">Bagi pemula, proses konfigurasi awal bisa terasa cukup rumit.<\/p>\n<p data-section-id=\"px8z4l\" data-start=\"6239\" data-end=\"6280\"><strong>2. Membutuhkan Pengelolaan Sertifikat<\/strong><\/p>\n<p data-start=\"6281\" data-end=\"6349\">Pengguna harus mengelola berbagai sertifikat keamanan secara manual.<\/p>\n<h2 data-section-id=\"1n19aex\" data-start=\"6356\" data-end=\"6368\">Kesimpulan<\/h2>\n<p data-start=\"6370\" data-end=\"6624\"><span class=\"hover:entity-accent entity-underline inline cursor-pointer align-baseline\"><span class=\"whitespace-normal\">OpenVPN<\/span><\/span> merupakan salah satu solusi VPN yang populer untuk meningkatkan keamanan jaringan. Dengan menggunakan OpenVPN, Anda dapat membuat koneksi internet yang aman antara client dan server melalui sistem enkripsi yang kuat.<\/p>\n<p data-start=\"6626\" data-end=\"6929\" data-is-last-node=\"\" data-is-only-node=\"\">Proses konfigurasi OpenVPN Server di VPS Ubuntu meliputi instalasi software, pembuatan sertifikat keamanan, konfigurasi server, hingga pengaturan firewall. Meskipun prosesnya cukup panjang, OpenVPN tetap menjadi pilihan yang sangat baik untuk membangun jaringan VPN yang aman, stabil, dan fleksibel.<\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;30460&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;1&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;0&quot;,&quot;greet&quot;:&quot;Jadilah yang pertama untuk memberi nilai&quot;,&quot;legend&quot;:&quot;5\\\/5 - (1 vote)&quot;,&quot;size&quot;:&quot;22&quot;,&quot;title&quot;:&quot;Cara Config OpenVPN Server di VPS Ubuntu Lengkap untuk Pemula&quot;,&quot;width&quot;:&quot;110&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-right: 0px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 22px; height: 22px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-right: 0px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 22px; height: 22px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-right: 0px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 22px; height: 22px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-right: 0px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 22px; height: 22px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-right: 0px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 22px; height: 22px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 110px;\">\n            <div class=\"kksr-star\" style=\"padding-right: 0px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 22px; height: 22px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 0px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 22px; height: 22px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 0px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 22px; height: 22px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 0px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 22px; height: 22px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 0px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 22px; height: 22px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 17.6px;\">\n            5\/5 - (1 vote)    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>Keamanan koneksi internet menjadi hal yang sangat penting, terutama ketika mengakses jaringan dari lokasi publik atau saat mengelola server secara jarak jauh. Salah satu solusi yang sering digunakan untuk meningkatkan keamanan jaringan adalah menggunakan VPN (Virtual Private Network). Salah satu software VPN yang populer dan banyak digunakan adalah OpenVPN. Dengan OpenVPN, Anda dapat membuat koneksi [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":30461,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"no","rop_publish_now_accounts":{"twitter_2392824914_2392824914":""},"rop_publish_now_history":[{"account":"twitter_2392824914_2392824914","service":"twitter","timestamp":1773653306,"status":"error"}],"rop_publish_now_status":"done","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[837],"tags":[16641,16639,16646,16645,16647,16638,16640,16642,16644,16643],"class_list":["post-30460","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-berita","tag-cara-install-openvpn","tag-config-openvpn-server","tag-install-vpn-di-vps","tag-konfigurasi-openvpn","tag-openvpn-linux","tag-openvpn-ubuntu","tag-openvpn-vps-ubuntu","tag-setup-openvpn-server","tag-tutorial-openvpn","tag-vpn-server-ubuntu"],"featured_image_src":{"landsacpe":["https:\/\/hosteko.com\/htk-blog\/wp-content\/uploads\/2026\/03\/Desain-tanpa-judul289-1140x445.png",1140,445,true],"list":["https:\/\/hosteko.com\/htk-blog\/wp-content\/uploads\/2026\/03\/Desain-tanpa-judul289-463x348.png",463,348,true],"medium":["https:\/\/hosteko.com\/htk-blog\/wp-content\/uploads\/2026\/03\/Desain-tanpa-judul289-300x169.png",300,169,true],"full":["https:\/\/hosteko.com\/htk-blog\/wp-content\/uploads\/2026\/03\/Desain-tanpa-judul289.png",1366,768,false]},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Cara Config OpenVPN Server di VPS Ubuntu Lengkap untuk Pemula - Hosteko Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Cara Config OpenVPN Server di VPS Ubuntu Lengkap untuk Pemula - Hosteko Blog\" \/>\n<meta property=\"og:description\" content=\"Keamanan koneksi internet menjadi hal yang sangat penting, terutama ketika mengakses jaringan dari lokasi publik atau saat mengelola server secara jarak jauh. Salah satu solusi yang sering digunakan untuk meningkatkan keamanan jaringan adalah menggunakan VPN (Virtual Private Network). Salah satu software VPN yang populer dan banyak digunakan adalah OpenVPN. Dengan OpenVPN, Anda dapat membuat koneksi [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula\" \/>\n<meta property=\"og:site_name\" content=\"Hosteko Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-03-16T09:28:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hosteko.com\/htk-blog\/wp-content\/uploads\/2026\/03\/Desain-tanpa-judul289.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1366\" \/>\n\t<meta property=\"og:image:height\" content=\"768\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Fitri Ana\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fitri Ana\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula#article\",\"isPartOf\":{\"@id\":\"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula\"},\"author\":{\"name\":\"Fitri Ana\",\"@id\":\"https:\/\/hosteko.com\/blog\/#\/schema\/person\/ffcd8071a8a3d6a862a4e1381d1c4ea0\"},\"headline\":\"Cara Config OpenVPN Server di VPS Ubuntu Lengkap untuk Pemula\",\"datePublished\":\"2026-03-16T09:28:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula\"},\"wordCount\":852,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/hosteko.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hosteko.com\/htk-blog\/wp-content\/uploads\/2026\/03\/Desain-tanpa-judul289.png\",\"keywords\":[\"cara install openvpn\",\"config openvpn server\",\"install vpn di vps\",\"konfigurasi openvpn\",\"openvpn linux\",\"openvpn ubuntu\",\"openvpn vps ubuntu\",\"setup openvpn server\",\"tutorial openvpn\",\"vpn server ubuntu\"],\"articleSection\":[\"Berita\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula\",\"url\":\"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula\",\"name\":\"Cara Config OpenVPN Server di VPS Ubuntu Lengkap untuk Pemula - Hosteko Blog\",\"isPartOf\":{\"@id\":\"https:\/\/hosteko.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula#primaryimage\"},\"image\":{\"@id\":\"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hosteko.com\/htk-blog\/wp-content\/uploads\/2026\/03\/Desain-tanpa-judul289.png\",\"datePublished\":\"2026-03-16T09:28:14+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula#primaryimage\",\"url\":\"https:\/\/hosteko.com\/htk-blog\/wp-content\/uploads\/2026\/03\/Desain-tanpa-judul289.png\",\"contentUrl\":\"https:\/\/hosteko.com\/htk-blog\/wp-content\/uploads\/2026\/03\/Desain-tanpa-judul289.png\",\"width\":1366,\"height\":768},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/hosteko.com\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cara Config OpenVPN Server di VPS Ubuntu Lengkap untuk Pemula\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hosteko.com\/blog\/#website\",\"url\":\"https:\/\/hosteko.com\/blog\/\",\"name\":\"Hosteko Blog\",\"description\":\"Berita &amp; Informasi Dunia IT\",\"publisher\":{\"@id\":\"https:\/\/hosteko.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hosteko.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/hosteko.com\/blog\/#organization\",\"name\":\"HOSTEKO\",\"url\":\"https:\/\/hosteko.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hosteko.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/hosteko.com\/htk-blog\/wp-content\/uploads\/2019\/04\/logo-hosteko.png\",\"contentUrl\":\"https:\/\/hosteko.com\/htk-blog\/wp-content\/uploads\/2019\/04\/logo-hosteko.png\",\"width\":195,\"height\":57,\"caption\":\"HOSTEKO\"},\"image\":{\"@id\":\"https:\/\/hosteko.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/hosteko.com\/blog\/#\/schema\/person\/ffcd8071a8a3d6a862a4e1381d1c4ea0\",\"name\":\"Fitri Ana\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hosteko.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a099f723518ab9b89aa80b7ed8cadd2d3fae127c5bd735733cf24a661e75a882?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a099f723518ab9b89aa80b7ed8cadd2d3fae127c5bd735733cf24a661e75a882?s=96&d=mm&r=g\",\"caption\":\"Fitri Ana\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Cara Config OpenVPN Server di VPS Ubuntu Lengkap untuk Pemula - Hosteko Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula","og_locale":"en_US","og_type":"article","og_title":"Cara Config OpenVPN Server di VPS Ubuntu Lengkap untuk Pemula - Hosteko Blog","og_description":"Keamanan koneksi internet menjadi hal yang sangat penting, terutama ketika mengakses jaringan dari lokasi publik atau saat mengelola server secara jarak jauh. Salah satu solusi yang sering digunakan untuk meningkatkan keamanan jaringan adalah menggunakan VPN (Virtual Private Network). Salah satu software VPN yang populer dan banyak digunakan adalah OpenVPN. Dengan OpenVPN, Anda dapat membuat koneksi [&hellip;]","og_url":"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula","og_site_name":"Hosteko Blog","article_published_time":"2026-03-16T09:28:14+00:00","og_image":[{"width":1366,"height":768,"url":"https:\/\/hosteko.com\/htk-blog\/wp-content\/uploads\/2026\/03\/Desain-tanpa-judul289.png","type":"image\/png"}],"author":"Fitri Ana","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Fitri Ana","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula#article","isPartOf":{"@id":"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula"},"author":{"name":"Fitri Ana","@id":"https:\/\/hosteko.com\/blog\/#\/schema\/person\/ffcd8071a8a3d6a862a4e1381d1c4ea0"},"headline":"Cara Config OpenVPN Server di VPS Ubuntu Lengkap untuk Pemula","datePublished":"2026-03-16T09:28:14+00:00","mainEntityOfPage":{"@id":"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula"},"wordCount":852,"commentCount":0,"publisher":{"@id":"https:\/\/hosteko.com\/blog\/#organization"},"image":{"@id":"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula#primaryimage"},"thumbnailUrl":"https:\/\/hosteko.com\/htk-blog\/wp-content\/uploads\/2026\/03\/Desain-tanpa-judul289.png","keywords":["cara install openvpn","config openvpn server","install vpn di vps","konfigurasi openvpn","openvpn linux","openvpn ubuntu","openvpn vps ubuntu","setup openvpn server","tutorial openvpn","vpn server ubuntu"],"articleSection":["Berita"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula","url":"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula","name":"Cara Config OpenVPN Server di VPS Ubuntu Lengkap untuk Pemula - Hosteko Blog","isPartOf":{"@id":"https:\/\/hosteko.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula#primaryimage"},"image":{"@id":"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula#primaryimage"},"thumbnailUrl":"https:\/\/hosteko.com\/htk-blog\/wp-content\/uploads\/2026\/03\/Desain-tanpa-judul289.png","datePublished":"2026-03-16T09:28:14+00:00","breadcrumb":{"@id":"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula#primaryimage","url":"https:\/\/hosteko.com\/htk-blog\/wp-content\/uploads\/2026\/03\/Desain-tanpa-judul289.png","contentUrl":"https:\/\/hosteko.com\/htk-blog\/wp-content\/uploads\/2026\/03\/Desain-tanpa-judul289.png","width":1366,"height":768},{"@type":"BreadcrumbList","@id":"https:\/\/hosteko.com\/blog\/cara-config-openvpn-server-di-vps-ubuntu-lengkap-untuk-pemula#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hosteko.com\/blog"},{"@type":"ListItem","position":2,"name":"Cara Config OpenVPN Server di VPS Ubuntu Lengkap untuk Pemula"}]},{"@type":"WebSite","@id":"https:\/\/hosteko.com\/blog\/#website","url":"https:\/\/hosteko.com\/blog\/","name":"Hosteko Blog","description":"Berita &amp; Informasi Dunia IT","publisher":{"@id":"https:\/\/hosteko.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hosteko.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hosteko.com\/blog\/#organization","name":"HOSTEKO","url":"https:\/\/hosteko.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hosteko.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/hosteko.com\/htk-blog\/wp-content\/uploads\/2019\/04\/logo-hosteko.png","contentUrl":"https:\/\/hosteko.com\/htk-blog\/wp-content\/uploads\/2019\/04\/logo-hosteko.png","width":195,"height":57,"caption":"HOSTEKO"},"image":{"@id":"https:\/\/hosteko.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/hosteko.com\/blog\/#\/schema\/person\/ffcd8071a8a3d6a862a4e1381d1c4ea0","name":"Fitri Ana","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hosteko.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a099f723518ab9b89aa80b7ed8cadd2d3fae127c5bd735733cf24a661e75a882?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a099f723518ab9b89aa80b7ed8cadd2d3fae127c5bd735733cf24a661e75a882?s=96&d=mm&r=g","caption":"Fitri Ana"}}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/hosteko.com\/htk-blog\/wp-content\/uploads\/2026\/03\/Desain-tanpa-judul289.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hosteko.com\/blog\/wp-json\/wp\/v2\/posts\/30460","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hosteko.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hosteko.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hosteko.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/hosteko.com\/blog\/wp-json\/wp\/v2\/comments?post=30460"}],"version-history":[{"count":4,"href":"https:\/\/hosteko.com\/blog\/wp-json\/wp\/v2\/posts\/30460\/revisions"}],"predecessor-version":[{"id":30465,"href":"https:\/\/hosteko.com\/blog\/wp-json\/wp\/v2\/posts\/30460\/revisions\/30465"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hosteko.com\/blog\/wp-json\/wp\/v2\/media\/30461"}],"wp:attachment":[{"href":"https:\/\/hosteko.com\/blog\/wp-json\/wp\/v2\/media?parent=30460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hosteko.com\/blog\/wp-json\/wp\/v2\/categories?post=30460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hosteko.com\/blog\/wp-json\/wp\/v2\/tags?post=30460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}