Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

How to Deploy a 3CX Template on a Plenit Server

3CX is a unified communications and PBX platform based on Debian. In Plenit, you deploy it from the Marketplace, which speeds up initial provisioning and leaves the 3CX web configuration ready to be completed later.

πŸ‘ What you get

A server with 3CX deployed from the Marketplace and its web configuration wizard accessible through port 5015.

Before you begin

  • Log in to the Plenit platform.

  • Have a subscription of Servers available.

  • Decide which public IP you will use to expose port 5015 during the initial configuration.

πŸ“˜ Two things after deployment

When the server is created, open its console to enable remote access to web administration and publish the port 5015 in the firewall. You can see it in Step 2.

Step 1. Deploy the 3CX template

Enter the subscription of Servers and click New server to open the wizard. From there:

  1. Select the location and click Next.

  2. Choose the size (CPU and RAM) and click Next.

  3. Open the Marketplace, click the 3CX, select the language and click Next.

  4. Choose the disk size and click Next.

  5. Configure the network and click Next.

  6. On the final screen, create a tag and an SSH key if you need them, check Open SSH port to Access the service only if you are going to manage it via terminal, assign a name and click Create Server.

πŸ“˜ Size according to your environment

The minimum recommendation for 3CX is 1 CPU with 2 cores and 2 GB of RAM. Allocate more resources if the environment requires it.

When deployment starts, you'll see the server in state Loading and a creation notification. When it's done, you can continue with the initial 3CX configuration.

{/* πŸ“Έ SCREENSHOT 1 Β· Marketplace tab with the 3CX image and the language selector */}

Selection of 3CX and its language in the Marketplace

Step 2. Prepare the 3CX system

🚧 First the console, then the port

Port 5015 is useless until you enable web access from the console. Do this step before opening the firewall.

Go back to the Plenit front end and open the console of the server. Select the option 1 to enable initial remote access to web administration. The console will tell you that you must open port 5015 to access the application.

{/* πŸ“Έ SCREENSHOT 2 Β· server console with the option 1 to enable web access */}

3CX console with the option to enable web configuration

Then, at the bottom of the server configuration, click New entry rule and create a NAT (redirection between the public IP and the private IP of the server) to expose 5015:

  • Select network: normally, leave it as is.

  • Origins: an origin IP or range, or Any IP to allow any network.

  • Protocol: leave the value shown by the template.

  • Public IP: the public IP through which the connection is handled.

  • Private IP: the internal IP of the 3CX server.

  • Private Port: 5015.

Click Continue and check that the rule appears in the firewall list.

{/* πŸ“Έ SCREENSHOT 3 Β· New entry rule (NAT) exposing port 5015 */}

Creation of the NAT rule for the 3CX 5015 port

πŸ‘ Reduce exposure of the initial access

5015 is the gateway to your PBX administration. Whenever you can:

  • Use Origins with a specific IP or range instead of Any IP.

  • Open 5015 only during the initial configuration and remove or restrict the rule when you're done.

  • Check Open SSH port and use an SSH key only if you are really going to manage it via terminal.

Validation

Open in the browser http://Public_IP:5015, replacing Public_IP with the public IP of the rule. If it loads, you'll see the screen Configure your 3CX Install, with options to upload a new configuration or restore a backup, and you can now continue with the web wizard.

To confirm it from the terminal:

If something doesn't fit

Symptom
Likely cause
What to do

http://IP:5015 doesn't respond

You didn't enable web access in the console

Open the console and choose the option 1

It still doesn't open

The rule does not properly expose 5015

Check that the rule exists and that the Private Port is 5015

Connect to another machine or it doesn't reach

IPs incorrectly assigned in the rule

Check that Public IP and Private IP are correct

It responds to others but not to you

Origins it keeps you out

Make sure your IP is in the allowed range

Conclusion

With this, you have 3CX deployed from the Marketplace and its web wizard ready on 5015. The key to the process is two actions in order: enable web access from the console and, only after that, expose the port. And since this is a PBX, close or restrict that 5015 as soon as you finish the initial configuration: it is not advisable to leave administration open to the Internet longer than necessary.

Last updated

Was this helpful?