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.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
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.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 68 guests