Configuring OpenVPN Server in WebMin on Ubuntu 22.04

25.12.2023
23:27

Once the virtual server has been purchased and configured, the next step is to create the OpenVPN server itself, or rather its configuration. If you don't know how to install Webmin and add server keys, we recommend you to read our previous articles.

Configuring OpenVPN Server

Go to "VPN List" to add the OpenVPN server config.

Select our certificate authority and click "New VPN Server":

There are a lot of settings here and if you have had previous experience with OpenVPN, you already know what and where to enter, so I will only show you the basic settings. We need to name our server, select the port, which is 1194 by default, select our server certificate, set the pool of IP addresses that will be given to the clients of the server and select encryption. I also recommend to enable management to see connected clients. You can enter any port, for example, 7505.

Save and go to the step of adding clients.

Click on the "New VPN Client" button and add a client. Here you must select the client certificate and enter the external IP address of the server for connection.

The server is ready to start. Now just go to the VPN List and select Start on the right in the Action column of our OpenVPN Server.

15% discount on new VPS
Hurry up to order a server in any location
Choose a VPS

Other articles

25.12.2023
8 584
Knowledge base / Instructions
Creating a VPN and adding a server key for Webmin
25.12.2023
5 826
Knowledge base / Instructions
Install Webmin
25.12.2023
5 491
Knowledge base / Information
Why do I need Webmin?