Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
AbahDoku Custom
Serba-serbi Windows
AbahDoku Wiki
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
OVPN Client (Linux Server)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
Catatan ORAT-ORET dulu ya .. dimulai dengan update : apt update Beberapa kali melakukan instalasi dan dilanjutkan dengan proses update, selalu muncul error dan N:Repository namun dapat di atasi dengan cara => <b>[[Update dan Error | ini]].</b> Login ke server via ssh. masuk ke folder /etc/openvpn/client cd /etc/openvpn/client copy certificate untuk client yang akan di pasang pada armbian server linux, file tersebut antara lain : cert_export_CA.crt, cert_export_client.crt dan cert_export_client.key. sementara ini belum tau cara mengambil file di dalam mikrotik menggunakan command di terminal linmux. jadi penulis mendownloadnya melalui winbox aja ya .. hehe nati kita cari tau caranya file yang sudah di download antara lain : cert_export_CA.crt cert_export_client.crt cert_export_client.key biar lebih mudah mengcopynya ke armbian server, penulis rename aja ya, biar namanya lebih pendek, oke kali ini penulis menduplikatnya saja dengan command berikut : cp cert_export_CA.crt CA.crt cp cert_export_client.crt client.crt cp cert_export_client.key client.key upload file tersebut di atas ke server (ketikkan password server jika di minta) : scp CA.crt user@10.10.10.6 (ketikkan password server jika di minta) scp client.crt user@10.10.10.6 scp client.key user@10.10.10.6 Buat file konfigurasi ovpn nano /etc/openvpn/client/client.ovpn isinya client dev tun proto tcp remote <host/domain> 1194 --> untuk experiment ini penulis menggunakan host example.my resolv-retry infinite nobind persist-key persist-tun ca CA.crt cert client.crt key client.key remote-cert-tls server cipher AES-256-CBC auth SHA1 auth-user-pass redirect-gateway def1 selain itu tambahkan host pada file /etc/hosts, misalnya seperti berikut ini : 127.0.0.1 localhost arm-64 ::1 localhost arm-64 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters '''''108.87.62.201 example.my'''''
Summary:
Please note that all contributions to AbahDoku Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
AbahDoku Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width