Skip to main content
All CollectionsVPSVPS OS and Templates
How to use the FreePBX VPS template
How to use the FreePBX VPS template

Getting started with the FreePBX VPS template at Hostinger

Updated over 2 months ago

FreePBX is a powerful open-source platform for managing and controlling your business's telephony system. It allows you to set up a fully-featured phone system that includes call routing, voicemail, conference calling, and more, all through an intuitive web interface. With the Debian 12 with FreePBX VPS template from Hostinger, FreePBX comes preinstalled, making it easier for you to quickly set up and configure your VoIP (Voice over IP) system.

If you don't have a VPS yet, check the available options here: VPS hosting 🚀

Step 1 — Access FreePBX

Open your web browser and go to :

http://[your-vps-ip]

Replacing [your-vps-ip] with the actual IP address of your VPS.

You will be prompted to finish setting up FreePBX and create a new admin account. Enter your information and proceed with the setup.

The FreePBX initial setup page

Step 2 — Perform the initial configuration

When accessing FreePBX for the first time, you’ll be prompted by the system setup wizard to enter the required details:

  1. Create an admin account.

  2. Configure your local time zone.

  3. Network Settings — Ensure that your IP address and DNS settings are correct. These are crucial for your phone system to work properly.

Next, navigate in the FreePBX interface to complete the following:

  1. Configure extensions — Go to the Applications tab and choose Extensions. Create extensions for each phone or device in your phone system. You’ll need to define details like extension numbers, passwords, and user details.

  2. Trunk setup — Navigate to the Connectivity section to connect your FreePBX server to your VoIP provider, by configuring the trunks; this allows FreePBX to send and receive external calls. Enter the details provided by your VoIP service provider, such as SIP (Session Initiation Protocol) server, username, and password.

  3. Outbound and Inbound Routes — Set up Outbound Routes to determine how outgoing calls are routed. Configure the dialing rules to match your preferred dialing strategy. Similarly, set up Inbound Routes to define how incoming calls are routed to the correct extension or destination.

Step 3 — Set up VoIP phones

For each extension, you need to configure a softphone, like Zoiper or MicroSIP, or a desk phone using the server IP address and extension credentials. This information includes the extension number and password. Make sure the phones are set to register with your FreePBX server.

After configuring the phones, make a test call between extensions to verify the system works as expected.

Step 4 — Secure Your FreePBX Installation

  1. Firewall — FreePBX includes a built-in firewall, make sure to enable it and configure it. Navigate to the Admin menu and choose Firewall to set the rules to allow or deny traffic based on IP addresses and ports.

  2. Change the default ports — To add an extra layer of security, change the default SIP and web interface ports. This can help prevent brute-force attacks on common ports.

  3. Use SSL for web access — Configure SSL/TLS for secure web access to your FreePBX system. You can use Let’s Encrypt or another SSL provider to secure the web interface.

  4. Regular Updates — Ensure your FreePBX installation and all modules are updated. FreePBX regularly releases security patches and updates to improve performance and stability.

By following the steps outlined in this guide, you can easily set up your FreePBX instance and begin managing your telephony system.

For more detailed guidance, refer to the FreePBX official documentation, which provides a deeper dive into VoIP configurations and features.

Did this answer your question?