Jump to content
XPEnology Community
  • 0

Allowed/blocked ip list


Kamele0N

Question

I have mistakenly imported some 46.000+ ips under a wrong tab (allowed ip list instead of under blocked ip list)..... 

 

And now there is no option in synology to delete all 46.000+ ips under a one go! 

 

Is there any chance to do that under a, SSH connection? 

 

Identical problem like here (to clarify my problem) https://community.synology.com/enu/forum/1/post/127297?page=1&sort=oldest

 

Tnx in advance. 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Status update....manage to delete that list via SSH from a turitorial on internet and additional help of my IT friend... 

 

1) connect via SSH on your NAS 

2) login as root! (otherwise wont work)..... Sudo -i

3)  cd /etc

4) sqlite3 synoautoblock.db

5) header on

6) select * from AutoBlockIP;

7) delete from AutoBlockIP;  (it deletes BOTH allowed and blocked list) 

8.) quit

 

😎 restart your NAS

 

Thats all folks :)

  • Like 3
Link to comment
Share on other sites

  • 0
On 8/28/2021 at 3:46 PM, Kamele0N said:

Status update....manage to delete that list via SSH from a turitorial on internet and additional help of my IT friend... 

 

1) connect via SSH on your NAS 

2) login as root! (otherwise wont work)..... Sudo -i

3)  cd /etc

4) sqlite3 synoautoblock.db

5) header on

6) select * from AutoBlockIP;

7) delete from AutoBlockIP;  (it deletes BOTH allowed and blocked list) 

8.) quit

 

😎 restart your NAS

 

Thats all folks :)

 

Thanks for this, it helps.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...