17
1
I’m using CentOS and when type in the following iptables
command:
iptables -L -v
The output is as follows:
Chain INPUT (policy ACCEPT 19614 packets, 2312K 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 13881 packets, 32M bytes) pkts bytes target prot opt in out source destination
What does this mean? I’m able to connect using SSH. Where can I see that rule?
Not to be a nit-picker to what is a fairly simple question and answer post, but can’t
policy ACCEPT
be considered a rule in and of itself? Yes, it blocks 100% of nothing and filters no traffic, but still it is a rule in the context ofiptables
operational behavior. – JakeGould – 2015-04-07T06:17:58.8701@JakeGould Sure, that makes sense. Sill,
iptables
uses two distinct terms rule and policy, and I was trying to stick to the tool's terminology. – Fran – 2015-04-25T18:30:21.940