I am using terminal to connect to multiple VPN instances (in parallel, from a single terminal) with openvpn api in Go. I have many VPN servers. Some combinations of VPNs work together but some of other don't. Those connections get interrupted and from that moment i lose access to internet at all. I suspect there will be some collision between routes or DNS get messed up or some deadlock happens. After ping-restart the connection gets fixed for a moment until it tries to reconnect again gets into the loop.
Anyone with experience knows what might possibly happen here and how to fix it. I am not that good in networking so please let me know if additional info is required.