Instalasi openvpn di debian



Download 4.58 Kb.
Date31.07.2017
Size4.58 Kb.
#25297
INSTALASI OPENVPN DI DEBIAN

First, we need to quickly install openvpn on our debian server.

aptitude install openvpn

#updatedb

#locate easy-rsa



Once we find the folder, we need to copy it to /etc/openvpn:

#cp -R /usr/share/doc/openvpn/examples/easy-rsa /etc/openvpn



#cp /usr/share/doc/openvpn/examples/sample-config-files/server.conf.gz /etc/openvpn

#cd /etc/openvpn/easy-rsa/2.0

#nano vars

Edit like this :

export KEY_COUNTRY="US"

 export KEY_PROVINCE="CA"

 export KEY_CITY="SanDiego"

 export KEY_ORG="OpenVPN"

 export KEY_EMAIL=myemail@mydomain.com

#. ./vars

(dot space ./vars)

#./clean-all  

#./build-ca

#./build-key-server server

#./build-key client1

#./build-dh

#cp ca.crt ca.key dh1024.pem server.crt server.key /etc/openvpn

#cd /etc/openvpn

#gunzip server.conf.gz

#mv server.conf openvpn.conf

#nano openvpn.conf

Aktifkan baris :



client-to-client

restart openvpn
Download 4.58 Kb.

Share with your friends:




The database is protected by copyright ©ininet.org 2024
send message

    Main page