OpenVPN
OpenVPN adalah salah satu protokol VPN yang paling terkenal. Popularitasnya didasari atas faktor sistem enkripsi yang kuat dan bertingkat tinggi serta kodenya yang open-source. OpenVPN didukung oleh semua sistem operasi ternama, seperti Windows, MacOS dan Linux. Protokol ini juga didukung oleh sistem operasi mobile seperti Android dan iOS.
Tentunya, salah satu tujuan utama dari protokol VPN adalah untuk menyediakan sistem enkripsi data yang tingkat tinggi. Dalam area ini, OpenVPN bekerja dengan sangat baik. Pada dasarnya, OpenVPN menggunakan enkripsi 256 bit melalui OpenSSL. Selain itu, banyak jasa VPN (mayoritasnya) yang mendukung penggunaan OpenVPN.
OpenVPN mendukung penggunakan dua tipe port yang berbeda: TCP dan UDP.
- OpenVPN-TCP adalah protokol yang paling umum digunakan dan paling diandalkan. Penggunaan TCP port artinya setiap “paket data” individu harus disetujui oleh pihak yang menerima, sebelum paket yang baru akan dikirim. Ini membuat koneksi menjadi sangat dapat diandalkan dan aman, namun lebih lambat.
- OpenVPN-UDP termasuk lebih cepat dibanding OpenVPN-TCP. Semua “paket data” dikirim tanpa persetujuan dari pihak penerima. Hal ini menghasilkan koneksi VPN yang lebih cepat, namun berkurangnya tingkat keandalan dan stabilitas.
Kelebihan
- OpenVPN sangat aman
- Didukung oleh banyak perangkat lunak dan secara virtual semua penyedia VPN moderen
- Didukung oleh semua sistem operasi pada dasarnya
- Diaudit dan diuji secara ekstensif
Kekurangan
- Terkadang membutuhkan perangkat lunak tambahan
Installasi
OpenVPN Client
- Open the Terminal by pressing
ctrl + alt + T - Type the following command into the Terminal
sudo apt install apt-transport-https
- This is done to ensure that your
aptsupports the https transport. Enter the root password as prompted - Type the following command into the Terminal
sudo wget https://swupdate.openvpn.net/repos/openvpn-repo-pkg-key.pub
- This will install the OpenVPN repository key used by the OpenVPN 3 Linux packages
- Type the following command into the Terminal
sudo apt-key add openvpn-repo-pkg-key.pub
- Type the following command into the Terminal
sudo wget -O /etc/apt/sources.list.d/openvpn3.list https://swupdate.openvpn.net/community/openvpn3/repos/openvpn3-$DISTRO.list
- This will install the proper repository. Replace
$DISTROwith the release name depending on your Debian/Ubuntu distribution (the table of release names for each distribution can be found below). In this case, focal is chosen since Ubuntu 20.04 is used
Type the following command into the Terminal
sudo apt update
- Type the following command into the Terminal
sudo apt install openvpn3
- This will finally install the OpenVPN 3 package
| Ditribution | Release | Release Name $DISTRO
|
|---|---|---|
| Debian | 9 | stretch |
| Debian | 10 | buster |
| Ubuntu | 16.04 | xenial |
| Ubuntu | 18.04 | bionic |
| Ubuntu | 19.04 | eoan |
| Ubuntu | 20.04 | focal |