So I have my router at home acting as a OpenVPN server. From anywhere I can connect to it to access my network. One of the elements in that network is a server where I host virtual machines for diferent purposes. One of the virtual machines is my "work computer" to which I can connect using NoMachine.
The problem comes when I'm using the "work computer" from outside and I want to connect that "work computer" to the "work VPN" which is a OpenVPN server running wherever. The moment the "work computer" tries to connect to the "work VPN", NoMachine stops working completely.
I don't know if the issue is with me having two OpenVPN connections, or with NoMachine, or what. I can still access other resources in my home network and having my router act as a Wireguard peer instead of a OpenVPN server results in the same issue. So I assume it's not a OpenVPN thing.
Is it because I'm trying to connect to a VPN server outside of the VPN the virtual machine is in while being connected to the virtual machine from outside the VPN the virtual machine is in?