Results 1 to 3 of 3
-
01-05-2008, 10:01 AM #1WHT Addict
- Join Date
- Aug 2006
- Posts
- 127
after flush+zero iptables, will a new iptables ban work?
Say I execute the following commands, in the following order:
iptables --flush
iptables --zero
iptables -A INPUT -s 218.65.12.161 -j DROP
will that last command successfully ban that IP until reboot?
If not, what needs to be done? I can't access my site if I don't flush + zero iptables first but I need to be able to ban with iptables.
-
01-05-2008, 10:47 PM #2Disabled
- Join Date
- Apr 2005
- Location
- Cochin
- Posts
- 2,452
Yes it will ban
-
01-06-2008, 12:04 AM #3Web Hosting Master
- Join Date
- Oct 2004
- Location
- Kerala, India
- Posts
- 4,771
Tertsi,
Install APF and you can play with firewall more easily and comfortably.David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
CliffWebManager | Access WHM from iPhone and Android