How to – Fix the firewall on Vicibox10

How to – Fix the firewall on Vicibox10

So there is a major problem with Vicibox10 where the VB-firewall when used, will totally lock you out the system and I finally figured out how to fix the problem. Its rather simple actually and I hope this helps all of you out there that have been wanting to try Asterisk 16 on Vicibox10.

Step 1 – Edit the VB-firewall file

We need to edit the VB-firewall file at /usr/bin/VB-firewall

  • nano /usr/bin/VB-firewall
  • scroll down until you see $IPBLACK=’blacknets’; # IPSet blacklist IP and change it to $IPBLACK=’dynamiclist’; # IPSet blacklist IP
Change to $IPBLACK=’dynamiclist’;

Step 2 – Run the Vb-firewall with the whitelist and dynamic list

  • /usr/bin/VB-firewall –dynamic –white

The first time you run this command you may get an error, make sure to run it again as you see below:

Fixing VB-firewall on Vicibox10

Step 3 – Change the crontab entry to dynamic list and whitelist

### 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 --dynamic --whitelist=ViciWhite
* * * * * /usr/bin/VB-firewall --dynamic --whitelist-ViciWhite

That’s all there is to it. Fell free to join our live chat support on Skype if you have any questions or comments: https://join.skype.com/ujkQ7i5lV78O

-Chris aka carpenox

Carpenox

Recent Posts

How to – Fix the “You don’t have permission to access /RECORDINGS/MP3/” error within ViciDial

How to - Fix the "You don't have permission to access /RECORDINGS/MP3/" error within ViciDial…

1 day ago

Navigating the Future: Artificial Intelligence in the Call Center Industry

Navigating the Future: Artificial Intelligence in the Call Center Industry In the ever-evolving landscape of…

1 week ago

How to – Setup a ViciDial Cluster with scratch installs

How to - Setup a ViciDial Cluster with scratch installs This article is going to…

4 weeks ago

Unlocking the Future of Call Centers: Introducing CyburDial’s Call Center as a Service (CCaaS)

Unlocking the Future of Call Centers: Introducing CyburDial's Call Center as a Service (CCaaS) In…

4 weeks ago

Choosing the Right Call Center Solution: CyburDial vs. ReadyMode vs. Convoso

Choosing the Right Call Center Solution: CyburDial vs. ReadyMode vs. Convoso In the fast-paced world…

1 month ago

How to – Set Up Asterisk 18 with ConfBridge for ViciDial with Bug fixes for monitoring

How to - Set Up Asterisk 18 with ConfBridge for ViciDial with Bug fixes for…

2 months ago

This website uses cookies.