I am using NethServer 8 (NS8) to deploy a cluster with two nodes:
- Leader Node (Node 1): Deployed on a VPS with a public IP address.
- Worker Node (Node 2): Located on a private local network behind NAT.
I have configured a DNS record that points to the public IP of the leader node. Applications hosted on the leader node are accessible from the internet as expected. However, I want the leader node to act as a gateway to route traffic from the internet to applications hosted on the worker node in the private network.
Currently, applications on the worker node are not accessible via the DNS or the leader node. I need guidance on how to:
- Configure the leader node to route traffic to the worker node.
- Ensure that applications on the worker node are accessible through the same DNS.
Any advice or best practices on setting up this configuration would be greatly appreciated. Thank you!