Good choice. Then, with the Debian install and double-checking that you have the latest upgrades with
sudo apt upgrade
, go to
https://www.fusionpbx.com/download. Select the two commands under Debian install. Run
sudo i
and then enter the two commands, one after the other. This will take some time.
When you are done, you will see some special information. Be sure to copy down the addresses, username and password in a safe place.
I also recommend that you install Webmin as a fine server manager.
Reboot your system.
Then log in with your personal browser to the address as given and use the name and password you were given and saved. You will be taken to the FusionPBX Dashboard.
Also, you can use the same address, followed by :10000 and you will get to your Webmin interface. This will show the server status, allow you to do upgrades and to add new software if you wish. Your server need never be accessed directly again and you can leave it un-logged-in.
You will then port-forward your SIP provider's server addresses in your router. Then you will use Webmin to manage your iptables rules. Just block all incoming except for the rules you create. Allow all outgoing. At this point you can ignore Fail2Ban and just allow it to do its thing. Finally, set up the ACL in Fusion.
You will have installed all the basic software, configured all necessary communications channels and have a secure and ready server. Lastly, create a backup at this stage by making a disk image on another drive.