OpenVPN: Difference between revisions
No edit summary |
No edit summary |
||
Line 33: | Line 33: | ||
Pilihan configurasi menggunakan password atau tidak | Pilihan configurasi menggunakan password atau tidak | ||
1) Add a passwordless client | 1) Add a passwordless client | ||
Proses Instalasi OpenVPN Server slesai | |||
Notice | |||
------ | |||
Inline file created: | |||
* /etc/openvpn/easy-rsa/pki/inline/abahvpn.inline | |||
Client vpn added. |
Revision as of 04:23, 19 March 2023
Update | Upgrade
apt-get update apt-get upgrade
Intalasi (cara mudah)
Ini adalah cara termudah install OpenVPN
curl -O https://raw.githubusercontent.com/Angristan/openvpn-install/master/openvpn-install.sh
Pastikan filenya sudah berhasil download
ls
Berikan hak akses permission
chmod +x openvpn-install.sh
Lanjut ke eksekusi
./openvpn-install.sh Welcome to the OpenVPN installer! The git repository is available at: https://github.com/angristan/openvpn-install
I need to ask you a few questions before starting the setup. You can leave the default options and just press enter if you are ok with them.
I need to know the IPv4 address of the network interface you want OpenVPN listening to. Unless your server is behind NAT, it should be your public IPv4 address. IP address: 10.8.80.180
Pilihan Port
1) Default: 1194
Protocol
1) UDP
DNS
3) Cloudflare (Anycast: worldwide)
Lanjutkan dengan pilan 'n' sampai
Press any key to continue...
Tunggu proses Instalasi selesai, sampai diminta untuk mengisi Client name, sebagai contoh isi dgn nama "vpn"
Clinet name: vpn
Pilihan configurasi menggunakan password atau tidak
1) Add a passwordless client
Proses Instalasi OpenVPN Server slesai
Notice ------ Inline file created: * /etc/openvpn/easy-rsa/pki/inline/abahvpn.inline Client vpn added.