Genjin wrote:
Can you please explain to me what the counters are that you mean?
If you execute 'iptables -vnL' you will see the counters for each iptable rule. You'll be able to see how many packets/bytes are being match by your rules.
Genjin wrote:
Sorry for being such a newbie :)
Don't be, that is how we all learn, by asking questions.
Each packet is evaluated from top to bottom by your iptables rules. Thus the order of the rules are important. As Guspaz noted first rule match wins.
Code:
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
It is unnecessary to have the firewall evaluated all traffic hitting your linode for your cloudflare rules when the above rule will allow all http port 80 traffic to be accepted (first rule matched wins). Thus you should removed the cloudflare rules as they will not have any matches. If you want to reject/drop all http port 80 traffic except for traffic from cloudflare, then what you have won't accomplish that.
--
Travis