Networking - allowing container outgoing traffic when daemon iptables = false

Hello everyone,

I’m running a container on a CentOS VPS that is running several other containers within a VPN.
Since this is a test environment, they’re edited /etc/docker/daemon.json’s iptables property to restrict editing the rules in the iptables.

Issue is my container has to interface with several APIs that are only reachable externally (not on the host.)

With outgoing traffic currently restricted, will I be able to simply add a forwarding rule to allow all outbound traffic from my container’s IP address?

Or will have to specifically whitelist the external resources for my container to consume?

Help hugely appreciated!

Inspect network info of the container that requires outbound resources:

"cipc-backend_app-network": {
                "IPAMConfig": null,
                "Links": null,
                "Aliases": [
                "NetworkID": "2ce7ed4cf3f4c3fb527c66473d5051aa0be6d35a84b61e6184269ae278a70282",
                "EndpointID": "32abdd8a58484be59ed8653c6c8ff2d0410797213eddfb09724bf050261cdbc9",
                "Gateway": "",
                "IPAddress": "",
                "IPPrefixLen": 16,
                "IPv6Gateway": "",
                "GlobalIPv6Address": "",
                "GlobalIPv6PrefixLen": 0,
                "MacAddress": "02:42:ac:1b:00:03",
                "DriverOpts": null