RaspberryPi

Install OpenVPN for Raspbian

Update repository.

sudo apt-get update
sudo apt-get upgrade

Install OpenVPN.

sudo apt-get install openvpn

Generate key sehingga didapatkan file berekstensi .ovpn, kemudian copy ke raspbian.
Jalankan openvpn client dengan command:

sudo openvpn <key>.ovpn

Untuk auto start ketika start up, rename file .ovpn menjadi .conf, kemudian edit file cofig openvpn. Misalkan keyvpn.conf.

nano /etc/default/openvpn

Tambahkan kode berikut:

AUTOSTART="keyvpn"

Leave a Reply

Your email address will not be published. Required fields are marked *