HOW TO: Check if IP is blocked from IPtables
Posted by on 12 February 2019 11:12 AM
|
|
Checking if an IP is blocked in IPTABLESCheck if IP is blocked:
If IP appear as DROP or REJECT, the IP has been blocked
Unblock the IP Address:
Blocking back an IP Address:
service iptables save =============================================================== To unblock an IP from the CSF from SSH, please follow the steps below:
2. To check if the IP is blocked by CSF, please execute the following command:
Note: IP_address being the specific IP you wish to check.
3. If the IP is denied and you wish to remove it, please execute the following command:
4. To complete the process, you will need to restart CSF for the changes to take effect:
=============================================================== Note: Full path to IPTABLES is /sbin/iptables, you can replace command # iptables with /sbin/iptables | |
|