How do I configure iptables firewall under CentOS / Fedora / RHEL / Redhat Linux to allow access to the Samba server? How do I open TCP ports # 137, 138, 139 and 445 under Linux so that all Microsoft Windows machine can access files and printer on a Linux host?
What is bastion host? How do I configure bastion host under Linux? How do I create a firewall for a bastion host under any Linux distribution?
The portmapper assigns each NFS service to a port dynamically at service startup time. How do I allow legitimate NFS clients to access the NFS server using RHEL / Fedora / CentOS Linux 5.x iptables firewall?
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
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 [...]
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 [...]
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. [...]