Changes

Jump to navigation Jump to search
Check that iptables is running:
/sbin/lsmod | grep ip_tables
 
View the rules either by:
cat /etc/sysconfig/iptables
Or:
/sbin/iptables -L
Backup the old rules:
Add a hole (or two):
vi /sbinetc/sysconfig/iptables ... -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp -s 128.32.66.0/24 --dport 80 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp -s 128.32.67.0/24 --dport 80 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp -s 128.32.74.0/24 --dport 80 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp -s 10.136.0.0/23 --dport 80 -j ACCEPT ...
Save Restart the table (so it will persist post a reboot)service: /sbinetc/init.d/service iptables saverestart
==Data==
Anonymous user

Navigation menu