7 FAQ tagged "iptables firewall"
Viewing 1-7 of 7 FAQ -- Understanding CentOS Default -A RH-Firewall-1-INPUT -p 50 -j ACCEPT Firewall Rule
Q.Can you explain the meaning of following two firewall rules present in my /etc/sysconfig/iptables rules under CentOS Enterprise Linux version 5.2?
-A RH-Firewall-1-INPUT -p 50 -j ACCEPT
-A RH-Firewall-1-INPUT -p 51 -j ACCEPT - How to: Allow telnet and ssh through iptables under Linux
Q. I run both RHEL / CentOS Linux server and by default firewall blocked out everything including telnet / ssh access. How do I allow telnet - port 23 and ssh port 22 thought Linux iptables firewall ?
A.By default firewall rules stored at /etc/sysconfig/iptables location / file under CentOS / RHEL. All you have to [...] - 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. [...] - Howto disable the iptables firewall in Linux
Q. Quick question: I need to disable firewall in Linux for testing purpose. I’m using CentOS 4.4. How do I disable the firewall in Linux?
A. A Linux firewall is software based firewall that provides protection between your server (workstation) and damaging content on the Internet or network.
It will try to guard your computer [...] - How do I block an IP on my Linux server?
In order to block an IP on your Linux server you need to use iptables firewall. First you need to log into shell as root user. To block IP address you need to type iptables command as follows:
iptables -A INPUT -s IP-ADDRESS -j DROP
Replace IP-ADDRESS with actual IP address. For example if you wish to [...] - Restrict ssh access using Iptable
Q. How do I stop or restrict access to my OpenSSH (SSHD) server using Linux iptables based firewall?
A. Linux iptables firewall can be use to block or restrict access to ssh server. Iptables command is used to set up, maintain, and inspect the tables of IP packet filter rules in the Linux kernel. However, you [...]
Viewing 1-7 of 7 FAQ - ( see all popular tags )


Recent Comments
Today ~ 8 Comments
Today ~ 7 Comments
Today ~ 1 Comment
Today ~ 1 Comment
Yesterday ~ 2 Comments