I'm facing an issue where I have to control the output of iptables-save.
It look like the table's order (*filter, *nat) output is kinda random.
For exemple here we have filter table in first, but we can also have nat tables in some cases :
iptables-save
*filter
//rules
COMMIT
*nat
//rules
COMMIT
Is is possible with an argument on the iptables-save command to have the filter table in the first position in the output everytime ?