When I execute
iptables-save I get output that looks like this:
*nat :PREROUTING ACCEPT [25:1601] :INPUT ACCEPT [43:2681] :OUTPUT ACCEPT [2:144] :POSTROUTING ACCEPT [2:144]
The last time I worked with these tables I used to see output that looked more like this:
-A INPUT -p tcp --dport 80 -j ACCEPT -A INPUT -p tcp --dport 443 -j ACCEPT
Some rules are still readable but most are incomprehensible.
How can I revert the output of iptables-save to the familiar syntax?
FWIW: It does work and my rules are being read correctly but I am unable to remove a rule because it says there is no match:
iptables -D INPUT -p tcp --dport 8000 -j ACCEPT
This is the same syntax that I used to add the rule in the first place (with a