How to Install 3X-UI VPN on CentOS Stream 10

3X-UI is a user-friendly management panel for configuring and controlling various types of VPN services. It simplifies the setup and management of VPN servers through an intuitive web interface, supporting multiple protocols. This guide provides the steps to install 3X-UI VPN on CentOS Stream 10.

Update Your System

Before proceeding with the installation, ensure your system packages are up to date:

dnf update -y

Install Necessary Dependencies

3X-UI requires several dependencies to function. Install them with the following command:

dnf install curl wget git -y

Download and Install 3X-UI

Download the 3X-UI installation script directly from the repository:

bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh)

During the installation process, the script will prompt you to decide whether you want to customize the port settings.

You can respond with Y if you wish to configure the panel port or N to accept the default settings. If you choose to customize the port, you'll have to enter the desired port number for accessing the 3X-UI panel.

After this step, the script will automatically generate a username and password for accessing the panel, which will be displayed on the screen along with the panel's base URI.

For example: images

Make sure to securely store the Username, Password, Port, and WebBasePath, as you will need these details to access the panel.

Enable Firewall Ports

If your system's firewall is active, allow the necessary ports for 3X-UI to function:

firewall-cmd --permanent --add-port=54321/tcp
firewall-cmd --reload

Note: Replace port with the specific port you assigned while installing 3X-UI

Access the 3X-UI Web Interface

After installation, access the 3X-UI web interface by navigating to the following URL in your browser:

http://your_server_ip:54321/WebBasePath

Note: Replace your_server_ip, 54321 and WebBasePath with actual IP Address and Port and WebBasePath which have been provided during the installation.

Login Page

After navigating to the URL, you will be prompted with the login page. Use the default username and password provided during the installation.

images

Once logged in, you will be taken to the 3X-UI dashboard, where you can manage your VPN settings and users.

images

Upon accessing the 3X-UI interface, after logged in with the default credentials. Make sure to change the default username and password immediately for security purposes.

Conclusion You have successfully installed and configured 3X-UI VPN on CentOS Stream 9. You can now manage and configure VPN services through the 3X-UI web interface.


CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME for 10% off!

1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month

Available Locations: LAX | MIA | ATL | FRA | AMS