I was updating my iptables in CentOS 6.4
I added port 8080 to iptables and ran iptables save. However now when I view my iptables all it is showing me is:
# Generated by iptables-save v1.4.7 on Wed Apr 9 13:46:25 2014
*filter
:INPUT ACCEPT [135:9225]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [85:12488]
COMMIT
# Completed on Wed Apr 9 13:46:25 2014
Is this a summarised view or have I saved my iptables horribly wrong?
iptables -L -n -v
Chain INPUT (policy ACCEPT 177 packets, 14590 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 135 packets, 22979 bytes)
pkts bytes target prot opt in out source destination
iptables -L -n -v
?iptables-save
try to restore them withiptables-restore