NAT/Masquerade no longer works after migrating to docker

Everything is working except that machines behind firezone are unable to reach the internet. I can login to those machines but not out.
Previously I simply put the firezone local IP 10.240.0.87 as the gateway and it worked. Can anyone help me please.