Following syntax allows using socket of other domain. It is rare to configure.
Syntax
allownet -protocol protocol -domain domain use;
protocol, tcp,udp can be specified, splitted by ,.
Meaning
This enables to restrict inheriting socket from other
domain. This configures from where the domain can
inherit socket. When domain is self, the domain can
use socket which is created by its own domain.
Example
domain foo_t;
# foo_t can inherit UDP socket from bar_t
allownet -protocol udp -domain bar_t;