Has anyone configured remote Node in a VPS with public IP & connecting to a home base hosted Nethserver 8 Mail Server ?
Currently I am running my Nethserver 7 running a VPS via Wireguard to a HomeBase NS 7 Email Server, I would like to duplicate the same setup. Not quite sure how to go about it, wondering if there’s any installation guidance that someone posted that I can read more on the topic on how I can connect the remote Node to the main NS8 home-base hosted Mailserver…
Thanks in advance…
Please, allow me to rephrase your current setup.
CentOS7 for “home server” and “VPS server”, with wireguard installed. And NethServer 7 on top of that.
Now…
NS7 did not used in any way Wireguard, but into NS8 is built in for allowing comunication between master node and workers nodes, so actually is already taken and controlled (more or less), so i dont’t think that currently the sysadmin could/should really mess with that). https://docs.nethserver.org/projects/ns8/en/latest/cluster.html
Also more than 1 year ago was stated that OpenVPN is not actually into plans
But this might have been changed in recent months, IDK.
With current informations and as far as I know, from official documentation https://docs.nethserver.org/projects/ns8/en/latest/
or the wiki (more or less currently a draft) https://wiki.nethserver.org/doku.php?id=nethserver_8
your setup must be crafted from scratch and manually at OS level (Debian or other supported distro for NS8), I don’t know if the backup procedure of NS8 can take care of this personalization.
However, you can consider to add something else as tunnel between your installations: Tailscale or ZeroTier probably could be an option for your needs.
Otherwise… I don’t know if the master/slave communication infrastructure (Wireguard) between the nodes can be repurpoused for allow also communications between containers in different nodes. Again: I don’t know
On NS7, there is a module by @mrmarkuz using WireGuard.
There is also such an “addable” NS8 Module with WireGuard.
Migration with Wireguard to NS8 uses WireGuard (Cluster VPN Network of NS8).
Thanks for your advise, this sounds encouraging, I’m still combing through the documentation trying to understand process and see I can implement this setup configuration.
I have a similar config but my mail server is on the NS8 VPS node whereas for example the user domain (account provider) is on the home NS8 node.
As @pike already explained, in NS8 you don’t need to setup a separate Wireguard connection as NS8 uses Wireguard to connect it’s nodes.
So it should work to have an NS8 cluster with 2 nodes (1 home, 1 VPS) and the apps on the nodes are able to also reach each other via Wireguard.