{% set thead = ' Number Target Protocol Source Destination Port ' %}
{{thead}} {% for p in input %} {% endfor %}
{{p.split(' ')[0]}} {{p.split(' ')[1]}} {{p.split(' ')[2]}} {{p.split(' ')[4]}} {{p.split(' ')[5]}} {{p.split(' ')[7]}}
{{thead}} {% for p in IN_public_allow %} {% endfor %}
{{p.split(' ')[0]}} {{p.split(' ')[1]}} {{p.split(' ')[2]}} {{p.split(' ')[4]}} {{p.split(' ')[5]}} {{p.split(' ')[7]}}
{{thead}} {% for p in output %} {% endfor %}
{{p.split(' ')[0]}} {{p.split(' ')[1]}} {{p.split(' ')[2]}} {{p.split(' ')[4]}} {{p.split(' ')[5]}} {{p.split(' ')[7]}}
There are rules only from INPUT, IN_public_allow and OUTPUT chains