Tag Archive: Red Hat

Feb 20 2007

Unix Firewall Rules

*filter :INPUT ACCEPT :FORWARD ACCEPT :OUTPUT ACCEPT :RH-Firewall-1-INPUT – -A INPUT -j RH-Firewall-1-INPUT -A FORWARD -j RH-Firewall-1-INPUT -A RH-Firewall-1-INPUT -i lo -j ACCEPT -A RH-Firewall-1-INPUT -p icmp –icmp-type any -j ACCEPT -A RH-Firewall-1-INPUT -p 50 -j ACCEPT -A RH-Firewall-1-INPUT -p 51 -j ACCEPT -A RH-Firewall-1-INPUT -p udp –dport 5353 -d 224.0.0.251 -j ACCEPT -A RH-Firewall-1-INPUT -p udp -m udp –dport 631 -j ACCEPT -A RH-Firewall-1-INPUT -m state –state ESTABLISHED,RELATED -j ACCEPT -A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 22 -j ACCEPT -A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 80 -j ACCEPT -A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 8080 -j ACCEPT -A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 8887 -j ACCEPT -A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 3306 -j ACCEPT -A RH-Firewall-1-INPUT -j REJECT –reject-with icmp-host-prohibited COMMIT Once you add the rules in, you need to restart the firewall by doing the following command: # service iptables restart accept, dport, firewall, iptables, linux, mysql, ports, red hat, reject, rules, server, state, system administration, tcp, unix

Permanent link to this article: http://www.armenianeagle.com/2007/02/20/unix-firewall-rules/

Nov 28 2006

Microsoft to Promote Linux

Microsoft has spent the last decade trying to kill Linux from the market because of they were afraid of the competition. While he has since dialed back the rhetoric, the subtext remains in nearly all Microsoft discussions of Linux: Use it, and you run the risk that Microsoft will sue you.”

Permanent link to this article: http://www.armenianeagle.com/2006/11/28/microsoft-to-promote-linux/

Nov 21 2006

Installing Qmail on RedHat

However, for this lab just create a new file called IDS and paste the following into it: /usr/sbin/groupadd nofiles /usr/sbin/useradd -g nofiles -d /var/qmail/alias alias /usr/sbin/useradd -g nofiles -d /var/qmail qmaild /usr/sbin/useradd -g nofiles -d /var/qmail qmaill /usr/sbin/useradd -g nofiles -d /var/qmail qmailp /usr/sbin/groupadd qmail /usr/sbin/useradd -g qmail -d /var/qmail qmailq /usr/sbin/useradd -g qmail -d /var/qmail qmailr /usr/sbin/useradd -g qmail -d /var/qmail qmails Now we need to run the script.

Permanent link to this article: http://www.armenianeagle.com/2006/11/21/installing-qmail-on-redhat/