2 FAQ tagged "iptables_firewall"
Viewing 1-2 of 2 FAQ -- Block ip address of spammers with iptables under Linux
Q. How do I block ip address of spammers with iptables based firewall under CentOS Linux 5?
A. You can simply block IP address of spammers by editing /etc/sysconfig/iptables file under:
a) CentOS Linux
b) Fedora Linux
c) RHEL 4.x/5.x etc
Open file /etc/sysconfig/iptables:
# vi /etc/sysconfig/iptables
Append ip address of spammers as follows:
-A RH-Firewall-1-INPUT -s SPAMMER-IP -j DROP
-A RH-Firewall-1-INPUT -s SPAMMER-SUBNET-BLOCK [...] - Redhat / CentOS / Fedora Linux Open Port
Q. I’ve Redhat Enterprise Linux 5 server with Iptabeles firewall enabled. By default it is only allowing port 22. How do I open port 80 / 143 / 110 on Linux? I’ve started all services but don’t know how to open port using iptables.
A. By default iptables firewall stores its configuration at /etc/sysconfig/iptables file. [...]
Viewing 1-2 of 2 FAQ - ( see all popular tags )


Recent Comments
Yesterday ~ 19 Comments
Yesterday ~ 1 Comment
Yesterday ~ 7 Comments
Yesterday ~ 2 Comments
Yesterday ~ 2 Comments