Ce tutoriel va vous permettre d’installer votre propre serveur VPN sur un serveur dédié ou un VPS. L’idée étant d’avoir un VPN gratuit, avec une grande bande passante et un contrôle total de vos données.
En SSH, utiliser « sudo » au besoin:
apt update && apt -y install ca-certificates wget net-tools
wget -qO - https://as-repository.openvpn.net/as-repo-public.gpg | apt-key add -
echo "deb http://as-repository.openvpn.net/as/debian bionic main">/etc/apt/sources.list.d/openvpn-as-repo.list
apt update && apt -y install openvpn-as
En fin d’installation un message s’affiche, il contient toutes les informations de connexion sous cette forme:
The Access Server has been successfully installed in /usr/local/openvpn_as
Configuration log file has been written to /usr/local/openvpn_as/init.log
Please enter "passwd openvpn" to set the initial
administrative password, then login as "openvpn" to continue
configuration here: https://xx.xx.xx.xx:943/admin
To reconfigure manually, use the /usr/local/openvpn_as/bin/ovpn-init tool.
+++++++++++++++++++++++++++++++++++++++++++++++
Access Server Web UIs are available here:
Admin UI: https://xx.xx.xx.xx:943/admin
Client UI: https://xx.xx.xx.xx:943/
+++++++++++++++++++++++++++++++++++++++++++++++
Taper dans le terminal:
passwd openvpn
Rendez-vous ensuite sur l’url Admin pour terminer la configuration