To install OpenVPN on Debian 11 no specialized steps are required.
Below is a description of instant installation thanks to which we will install our vpn server in a few minutes.
To begin with, we run the terminal with root privileges and install the necessary packages with the command:
apt update && apt -y install ca-certificates wget net-tools gnupg
We get the repositories key:
wget -qO - https://as-repository.openvpn.net/as-repo-public.gpg | apt-key add -
We add a repo key to the system:
echo "deb http://as-repository.openvpn.net/as/debian bullseye main">/etc/apt/sources.list.d/openvpn-as-repo.list
Let's install the openvpn server:
apt update && apt -y install openvpn-as
After correct installation, at the bottom we will see the data for the management panel of our server:
We now go to our link that we received.
It is our IP address and port:
Admin UI: https://22.214.171.124:943/admin
Client UI: https://126.96.36.199:943/
188.8.131.52 We substitute our server IP!
We log in with the data generated by the console.
openvpn is our login
the password is uGd58UZ9pazg
To download our .ovpn profile to be added to Android or wherever we want, go to the address from Client UI, log in and click
That's all our vpn server is ready.
As always, the video below. The server for this guide was provided by statnet.pl https://www.statnet.pl/vps/root-vps/