Friday, May 10, 2024
 Popular · Latest · Hot · Upcoming
27
rated 0 times [  27] [ 0]  / answers: 1 / hits: 120497  / 2 Years ago, fri, december 24, 2021, 1:18:36

I can't seem to find a quick command to just view all the banned IP's on the server. Or is there a file I can just edit?



I'm guessing fail2ban is the one that inputs all the IP's to ban. Where do I adjust the settings for it?



I seem to be able to only login to my server remotely only if i disable ufw. I can't seem to find out how to unban myself. I don't even know why i was banned in the first place. Is there a log of some sort to view all the attempts made?


More From » firewall

 Answers
2

sudo iptables -L INPUT -v -n | less



This tells iptables to List all rules in the INPUT chain, providing verbose numeric output. We are piping through less so that we get it a page at a time.


[#24449] Saturday, December 25, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
;