After following the configuration steps on Readme I decided to start OpenVPN with a compose file and it worked great until I tried to connect with other docker networks. Does OpenVPN only allow connection with one docker network? Depending on which network I choose I lose the connection with the internet as well. Trying to debug, when I have OpenVPN configured with interfaces to other networks that can't be accessed through VPN, I'm still able to ping and curl services in other networks from inside the ovpn container.
After following the configuration steps on Readme I decided to start OpenVPN with a compose file and it worked great until I tried to connect with other docker networks. Does OpenVPN only allow connection with one docker network? Depending on which network I choose I lose the connection with the internet as well. Trying to debug, when I have OpenVPN configured with interfaces to other networks that can't be accessed through VPN, I'm still able to ping and curl services in other networks from inside the ovpn container.
Follows the compose file:
If I leave just the network or(xor) api_network it works as if it is mutually exclusive.