I have a script that is several hundred lines long full of iptables rules (I've spent way too much time on this, and had far too much fun testing it) but when I run the script, the rules go in wrong - that is, when I do...
The order (being that iptables starts at the top of the chain and works its way down) is out of order, but it's ordered properly in the script. Is there something I can do to fix this easily?Code:iptables -vnL
Here's a comparison... [ see attachments ]
So, though the rules in the script are ordered properly, when I run the script the Jump to ACCEPTED is listed BEFORE the logging rules. Why is this?
Bookmarks