Artikel ini lanjutan dari artikel sebelumnya yaitu : Install OpenVpn
Hanya menambahkan dari artikel tersebut.
Networking :
Server : Ubuntu 20.04
Client : Mikrotik 6.49
Masalah : (Tidak support)
UDP mode
LZO compression
TLS authentication
authentication without username/password
1. Prosedur standard:
sudo apt update
sudo apt upgrade -y
2. Download openvpn installer :
# Installer tanpa password
wget https://git.io/vpn -O openvpn-ubuntu-install.sh
# Installer dg password
wget https://raw.githubusercontent.com/angristan/openvpn-install/master/openvpn-install.sh -O openvpn-ubuntu-install.sh
3. Rubah chmod :
chmod -v +x openvpn-ubuntu-install.sh
4. Install :
sudo ./openvpn-ubuntu-install.sh
5. Start the OpenVPN server
sudo systemctl start This email address is being protected from spambots. You need JavaScript enabled to view it.
## OR when using password to protect vpn ##
sudo systemctl start This email address is being protected from spambots. You need JavaScript enabled to view it.
6. Restart the OpenVPN server after changing configuration options
sudo systemctl restart This email address is being protected from spambots. You need JavaScript enabled to view it.
## OR when using password to protect vpn ##
sudo systemctl restart This email address is being protected from spambots. You need JavaScript enabled to view it.
7. Show status of the OpenVPN server
sudo systemctl status This email address is being protected from spambots. You need JavaScript enabled to view it.
## OR when using password to protect vpn ##
sudo systemctl status This email address is being protected from spambots. You need JavaScript enabled to view it.
Beberapa kali menyambungkan TLS mikrotik 6.49.2 ke server ubuntu 20.04 selalu saja gagal. Untuk sementara masih memakai cara tanpa TLS.