Advice on two way replication across two homes with dynamic IPs

shipser

Dabbler
Joined
Apr 20, 2016
Messages
17
Hi all,
I'll start with a thank you to all willing to help.
The situation i have is this:

I have a Truenas 12 server with a dataset i want to back up to another Truenas 12 at my sister's house.
My sister's Truenas server has her own dataset she wants to backup my server.

Both of our homes have a dynamic IP from the ISP's.

I have my own router, with full control and no ISP NAT.
My sister has an ISP owned router, with limited access (can ask the ISP to open needed ports).

What will be the best way to connect the rwo servers?
I'm thinking on binding a DDNS to each server and connecting them using a domain name, will it work?

How would you do it?

Off_Site_Truenas_sync.jpg
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I'm thinking on binding a DDNS to each server
Wouldn't need to do it on both--set it up on yours, then set up a VPN connection from her TrueNAS to your network. Now that your systems are on the same network, you can replicate back and forth between them as needed.
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
Hey @shipser,

I'm thinking on binding a DDNS to each server and connecting them using a domain name, will it work?

DDNS is indeed the key here. DDNS is needed only on your router. You then make sure to deploy an OpenVPN server on your side.

Once done, in the server at your sister's place, you deploy an OpenVPN client that will connect to your OpenVPN server calling it by its DDNS name. Once that VPN is established, you will have a site-to-site VPN between the 2 networks, so are free to do whatever you wish between the 2 sites, including ZFS replication.
 

shipser

Dabbler
Joined
Apr 20, 2016
Messages
17
Wouldn't need to do it on both--set it up on yours, then set up a VPN connection from her TrueNAS to your network. Now that your systems are on the same network, you can replicate back and forth between them as needed.
thank you, will do
 

shipser

Dabbler
Joined
Apr 20, 2016
Messages
17
Hey @shipser,



DDNS is indeed the key here. DDNS is needed only on your router. You then make sure to deploy an OpenVPN server on your side.

Once done, in the server at your sister's place, you deploy an OpenVPN client that will connect to your OpenVPN server calling it by its DDNS name. Once that VPN is established, you will have a site-to-site VPN between the 2 networks, so are free to do whatever you wish between the 2 sites, including ZFS replication.
thanks
 
Top