Monday 25 September 2017

Setup VPN Server di Ubuntu

Status : Draft

$ sudo apt-get install ssh
$ sudo apt-get update && sudo apt-get install openvpn easy-rsa
$ make-cadir openvpn-ca
$ sudo bash
# cd openvpn-ca
# jed vars
# ln -s openssl-1.0.0.cnf openssl.cnf
# source vars
# ./clean-all
# ./build-ca
# ./build-key-server server
# ./build-dh
# openvpn --genkey --secret keys/ta.key
# source vars
# ./build-key client1
# cd keys
# cp ca.crt ca.key server.crt server.key ta.key dh2048.pem /etc/openvpn
# gunzip -c /usr/share/doc/openvpn/examples/sample-config-files/server.conf.gz | sudo tee /etc/openvpn/server.conf

Referensi

  1. How To Set Up an OpenVPN Server on Ubuntu 16.04, https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-16-04

No comments:

Post a Comment