how to scratch install the dynportal on centos
This article will go over the steps to Scratch install the dynportal on a scratch CentOs, Rocky or Alma Linux Vicidial box that normally comes with the ISO. I have created the files you need and host them on one of my sites for download.
You will need 4 files to get this working on your server that you can download below
yum install -y firewalld
cd /home
wget https://dialer.one/dynportal.zip
wget https://dialer.one/firewall.zip
wget https://dialer.one/aggregate
wget https://dialer.one/VB-firewall
You can copy and paste the following
You need to edit your dynportal-ssl.conf file in /etc/httpd/conf.d/
nano /etc/httpd/conf.d/viciportal-ssl.conf
change the location to your SSL cert files
nano /var/www/vhosts/dynportal/inc/defaults.inc.php
Add the following lines to the bottom of your crontab by typing: crontab -e
### ViciBox integrated firewall, by default just load the VoIP Black list and reload it every 4 hours
### You can lock everyone out of your server if you set this wrong, so understand what you are doing!!!
@reboot /usr/bin/VB-firewall --whitelist=ViciWhite --dynamic --quiet
* * * * * /usr/bin/VB-firewall --whitelist=ViciWhite --dynamic --quiet --flush
Now use firewall-cmd and open port 446 on the firewall for public zone like such:
firewall-offline-cmd --add-port=446/tcp --zone=public --permanent
And edit the apache conf file to add the port to it:
That’s it, now go to http://yourdomain.com:446/valid8.php and you should see the following:
How to - Fix: Unable to open master device '/dev/dahdi/ctl' for Dahdi This happens after…
How to - Fix "Unable to lookup 'SERVER_EXTERNAL_IP'" This error is the newer SVN versions…
How to - Upgrade any Leap ViciBox install to Leap 15.6 A lot of people…
How to - Debug Webphones for ViciDial I get asked several times a day in…
How to - Set Up Load Balanced Phones and Calling for ViciDial Step 1: Ensure…
How to - Renew your certbot SSL cert when it fails enewing a Let's Encrypt…
This website uses cookies.
View Comments
got this fixed... just add this to the crontab and setup the public interface and reboot
@reboot /usr/bin/VB-firewall –-whitelist=ViciWhite –-dynamic –-quiet
* * * * * /usr/bin/VB-firewall –-whitelist=ViciWhite –-dynamic –-quiet –-flush
Isnt that what I have on step 4 and 5? Or How did you setup the public interface?