Hello,
I have questions concerning iptables. I have time and time again tried to configure and save the changes that I have made to iptables. Although i havebeen through this many times, these new reconfigurations never save. I do notice that a new chain named RH-Firewall01-INPUT has appeared as an alias. But for what chains is my question. Take linuxquestions.org example on iptables. I have used these two entries before:
Code:
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
And...
Code:
iptables -A OUTPUT -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
I've saved using iptables-save, yet after a restart I get this:
Code:
[root@mun-175-161 ~]# iptables --list
Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere icmp any
ACCEPT ipv6-crypt-- anywhere anywhere
ACCEPT ipv6-auth-- anywhere anywhere
ACCEPT udp -- anywhere 224.0.0.251 udp dpt:5353
ACCEPT udp -- anywhere anywhere udp dpt:ipp
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:telnet
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:smtp
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
[root@mun-175-161 ~]#
Please avise.