With Fail2Ban before v0.8.8:
fail2ban-client get YOURJAILNAMEHERE actionunban IPADDRESSHERE
With Fail2Ban v0.8.8 and later:
fail2ban-client set YOURJAILNAMEHERE unbanip IPADDRESSHERE
The hard part is finding the right jail:
- Use
iptables -L -n
to find the rule name… - …then use
fail2ban-client status | grep "Jail list" | sed -E 's/^[^:]+:[ \t]+//' | sed 's/,//g'
to get the actual jail names. The rule name and jail name may not be the same but it should be clear which one is related to which.
Related Posts:
- Ping – Request timed out
- best way to clear all iptables rules
- REJECT vs DROP when using iptables
- What firewall ports need to be open to allow access to external git repositories?
- IPTABLES – Limit rate of a specific incoming IP
- How to show all banned IP with fail2ban?
- How can I convert MP3 file to a Base64 encoded string? [closed]
- What is a sanity test/check
- What is an instance variable in Java?
- Discord music bot not working
- Python Math – TypeError: ‘NoneType’ object is not subscriptable
- TCP vs UDP – What is a TCP connection? [duplicate]
- ssh : Permission denied (publickey,gssapi-with-mic)
- Error in “MLSD” command While Connecting FTP to Server [closed]
- Java default constructor
- How do I make a delay in Java?
- What is a Memory Heap?
- 403 Forbidden vs 401 Unauthorized HTTP responses
- Advanced AREL or just Rails Query for has_many through search by association
- “If not” condition statement in python
- How can I sort a dictionary by key?
- What does ERR_SPDY_PROTOCOL_ERROR mean in nginx?
- What is a bitmask and a mask?
- C++ code file extension? What is the difference between .cc and .cpp
- How to remove origin from git repository
- XPath contains(text(),’some string’) doesn’t work when used with node with more than one Text subnode
- Transport endpoint is not connected
- Time Complexity of Prims Algorithm?
- How do I remove version tracking from a project cloned from git?
- How do I correctly clean up a Python object?
- How do I split a string on a delimiter in Bash?
- What’s the difference between & and && in MATLAB?
- azure error 502 – Web server received an invalid response while acting as a gateway or proxy server
- What is a Ray ID (Cloudflare)?
- How do I get a list of built-in data sets in R?
- java.text.ParseException: Unparseable date
- Difference between .o and .ko file
- R error: all arguments must have the same length
- spring @sqlgroup with multiple datasource
- Alternative to ui-grid(doesn’t support angular2/4)
- Tool for drawing parse trees?
- How do I install the OpenSSL libraries on Ubuntu?
- How can I specify a display?
- Clearing localStorage in javascript?
- Search all the occurrences of a string in the entire project in Android Studio
- “docker build” requires exactly 1 argument(s)
- declaring a priority_queue in c++ with a custom comparator
- Android java.lang.IllegalStateException: Could not execute method of the activity
- SwiftUI – How do I change the background color of a View?
- How to resolve the error java.net.SocketException: Too many open files
- R dates “origin” must be supplied
- How to one hot encode several categorical variables in R
- cannot load such file — bundler/setup (LoadError)
- Exception in thread “main” java.lang.reflect.InvocationTargetException
- “webxml attribute is required” error in Maven
- How can I change the color of my prompt in zsh (different from normal text)?
- mkdir c++ function
- C’s printf and fprintf(stdout,) are not printing
- What’s the difference between SoftReference and WeakReference in Java?
- Identity matrix in Julia
- Letsencrypt renewal fails: Could not bind to IPv4 or IPv6.. Skipping
- Devise lockable – How to unlock account using unlock_in
- How to bind multiple values to a single WPF TextBlock?
- What are the differences between Mustache.js and Handlebars.js?
- Vim Opening File E325 Attention Error
- Terminating app due to uncaught exception ‘NSUnknownKeyException’
- 2CHECKOUT ERROR CODE:PE102
- Android Debugging Failing With “Couldn’t connect to logcat, GetProcessId returned: 0” FFImageLoading.Platform.dll.so Not Found
- PHP – Indirect modification of overloaded property
- Rewrite the base-url for single posts
- How to parse wordpress options json
- use wp_get_theme() to get theme author name
- A post has a js redirection script. How to not redirect its category?
- get_previous_post in same categories
- Cannot understand WordPress error message
- Add column(s) to post edit page
- How can i hide and display elements automatically?
- How to change the paginated posts link class?
- How use custom image size + ACF + background image
- Pass AJAX variable to PHP functions WordPress plugin
- Add query args if website open in mobile
- Display shortcode based on user meta
- Woocommerce Image Categorie Page
- What are the obstacles to providing reliable Internet access and Wi-Fi at large tech conferences? [closed]
- How to see stdout of ansible commands?
- Difference between KVM and QEMU
- Top level domain/domain suffix for private network?
- Are SSD drives as reliable as mechanical drives (2013)?
- The Joel Test for system administrator jobs
- How do I rename a task in Task Scheduled on Windows Server 2008 R2
- How do I get the history of “apt-get install” on Ubuntu?
- Why does x86 represent 32bit when x64 represents 64bit? [closed]
- How to reload screenrc without restarting screen?
- How long before an s3 bucket can be created with same name after deletion?
- SSH from A through B to C, using private key on B [closed]
- Software vs hardware RAID performance and cache usage
- How do high traffic sites service more than 65535 TCP connections?
- Using variables in Apache config files to reduce duplication?
- How to unify package installation tasks in ansible?
- Private IP address in public DNS