CLI addition to Whitelist?

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

CLI addition to Whitelist?

Postby carpenox » Thu May 14, 2020 6:53 pm

How would I remove an IP from the blacklist or add one to the whitelist for the VB-Firewall thru the CLI? I'm sure its in a table on mysql but what would be the format to add it to that table for white or remove from black?

-Nox
Alma Linux 9.5 | SVN Version: 3920 | DB Schema Version: 1725 | Asterisk 18.26.0 | PHP8
https://dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
DC: https://discord.gg/DVktk6smbh -:- TG: https://t.me/+wkDmkF9U4aUxOGYx
carpenox
 
Posts: 2595
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: CLI addition to Whitelist?

Postby carpenox » Thu May 14, 2020 7:03 pm

nevermind i got it:

delete from vicidial_ip_list_entries where ip_address='12.XX2.24.2X0';
Query OK, 1 row affected (0.03 sec)
Alma Linux 9.5 | SVN Version: 3920 | DB Schema Version: 1725 | Asterisk 18.26.0 | PHP8
https://dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
DC: https://discord.gg/DVktk6smbh -:- TG: https://t.me/+wkDmkF9U4aUxOGYx
carpenox
 
Posts: 2595
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL


Return to Support

Who is online

Users browsing this forum: No registered users and 200 guests