How to Use a NethServer Leader Node as a Gateway to Access Applications on Private Worker Nodes?

Hi,

welcome to NethServer Community!

You could create HTTP routes on the Leader Node to the worker nodes Wireguard VPN IPs.

I tested it with the webserver app on a 3 node cluster, 1 worker node at home.

On the leader node I set following http route:

The Host has to match the app hostname on the worker.

You’ll find the wireguard VPN IPs on the Nodes details pages. On CLI you could use:

ip a s dev wg0

3 Likes