Fully disable firewall for docker

At the moment, any control is disabled in the docker, but during the creation of containers, nomad creates cni rules.

Ultimately, I want to get a configuration in which nomad does nothing with the firewall, does not create rules for forwarding traffic to the container (including docker-proxy). And in consul, the service containers must be registered under their original addresses and ports.

How can I forbid the creation of rules in the firewall and force the service to be registered in consul under the original addresses and pores?