I am trying to setup a distributed NethServer8 cluster where I want the leader to run on premise and a vps node in the cloud (the latter should host mailserver for instance).
My on-premise node runs behind a FritzBox 7590 AX where it is very restricted to setup WireGuard VPN as most settings are dictated by the FritzBox and there is no way of setting parameters.
The only way I have found is by importing a (modified) configuration when setting up network to network configuration. It is not even possible to pre-configure the port thw WG service is running on on the FB.
With all the efforts I have been able to add the remote VPS node to the cluster but it consistently seems to be offline.
Am I chasing the impossible perhaps? Or do I miss something when setting up my VPN tunnel?
I already had the suggested port forwards in place.
I don’t know what caused the mishap, but I started from scratch.
I have reset all my nodes a. Removed all VPN configuration on my FritzBox and started from scratch:
Setup my dyndns configuration in FritzBox
Create site to site VPN
Installed on-premise node as master with default VPN settings
Generated TLS certificate for my on-premise node matching the FQDN setup for it
Installed the VPS node
Joined the VPS node to the master through web UI with join code (could not get it to work through command line)
After that w/o any issues the VPS node appeared as a worker on the on-premise leader. Now off to setup applications and migrate my existing services to NethServer on-premise/VPS tandem.