Block and Allow IP using iptables in RedHat Linux 4.0
Dear Friend
I have blocked below IP by using iptables command in RedHat Linux 4.0. Code:
iptables -A INPUT -s 192.168.0.85 -j DROP Please let me know how I can un-block that IP, so that it can again starts it's normal operation. Appreciate, if you would come back at your earliest. Regards Pervez |
Greetings,
Pervez, To remove a block: - ssh to the machine that has blocked the user. - If you need to, you can search the firewall for just that IP address with: Quote:
run the following command: Quote:
ended up in the firewall more than once. All instances of the IP address must be removed from the UNC-ACCEPT-INPUT firewall rule. All the best |
Quote:
1. service iptables restart 2. iptables --list INPUT -n --line-number and then iptables -D INPUT <linenumber> |
All times are GMT -5. The time now is 07:21 PM. |