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