Reference: Add Selinux Policy for Pulpcore and Squid
module pulpcore_squid 1.0;
require {
type pulpcore_t;
type squid_port_t;
class tcp_socket name_connect;
}
#============= pulpcore_t ==============
allow pulpcore_t squid_port_t:tcp_socket name_connect;