To connect VM1 (NordVPN + Meshnet Nginx Proxy Manager) with VM2 (NordVPN Meshnet), follow these steps:
-
Configure VM1's Meshnet:
- Access VM1's Meshnet interface.
- Click on "Add a new server" and provide a name for the server.
- Enter the IP address of VM2 in the "IP/Domain" field.
- Set the port to the default Meshnet port (50001).
- Save the changes.
-
Configure VM2's Meshnet:
- Access VM2's Meshnet interface.
- Click on "Add a new server" and provide a name for the server.
- Enter the IP address of VM1 in the "IP/Domain" field.
- Set the port to the default Meshnet port (50001).
- Save the changes.
-
Configure Nginx Proxy Manager on VM1:
- Access the Nginx Proxy Manager interface on VM1.
- Go to the "Locations" tab and click on the location associated with the service you want to route through the Meshnet.
- Scroll down to the "Upstream" section and add a new server.
- Set the IP address to the IP address of VM2 and the port to the default Meshnet port (50001).
- Save the changes.
-
Test the Connection:
- Restart the Nginx Proxy Manager service on VM1.
- Test the connection by accessing the service on VM1 from a client. The request should be routed through the Meshnet to VM2.
If you still encounter issues, ensure that both VMs are connected to the same network and that the firewall on both VMs allows traffic on the Meshnet port (50001).
References:
- NordVPN Meshnet documentation: https://nordvpn.com/support/meshnet/
- Nginx Proxy Manager documentation: https://nginxproxymanager.com/docs