1pre *mangle 2pre :PREROUTING ACCEPT [0:0] 3pre :INPUT ACCEPT [0:0] 4pre :FORWARD ACCEPT [0:0] 5pre :OUTPUT ACCEPT [0:0] 6pre :POSTROUTING ACCEPT [0:0] 7pre :selinux_input - [0:0] 8pre :selinux_output - [0:0] 9pre :selinux_new_input - [0:0] 10pre :selinux_new_output - [0:0] 11# a comment 12pre -A INPUT -j selinux_input 13pre -A OUTPUT -j selinux_output 14pre -A selinux_input -m state --state NEW -j selinux_new_input 15pre -A selinux_input -m state --state RELATED,ESTABLISHED -j CONNSECMARK --restore 16pre -A selinux_output -m state --state NEW -j selinux_new_output 17 # another comment 18pre -A selinux_output -m state --state RELATED,ESTABLISHED -j CONNSECMARK --restore 19base-A selinux_new_input -j SECMARK --selctx system_u:object_r:server_packet_t 20module -A selinux_new_input -p tcp --dport 80 -j SECMARK --selctx system_u:object_r:http_server_packet_t 21post -A selinux_new_input -j CONNSECMARK --save 22post -A selinux_new_input -j RETURN 23base -A selinux_new_output -j SECMARK --selctx system_u:object_r:client_packet_t 24module -A selinux_new_output -p tcp --dport 80 -j SECMARK --selctx system_u:object_r:http_client_packet_t 25post -A selinux_new_output -j CONNSECMARK --save 26post -A selinux_new_output -j RETURN 27post COMMIT 28