Offsite FreeNAS box VPN client

Status
Not open for further replies.
Joined
Feb 25, 2018
Messages
5
Hi all,

I have 2 freenas servers one at home and one at my business. I have full access to both so can do anything I want to to either.

I want to be able to use rsync to do a replication of my home server to the server at work. I have rsync working on the local network but don't want to open ports for it to the internet. I have a pfsense router at home with a VPN setup so I can connect to my home network. I want to have the FreeNAS server at work connect to my VPN which would allow me to rsync without opening ports.

How does one do this?? I don't want the whole work network to be connected to my VPN and can't change that router or reflash it. So I was wondering if the FreeNAS box can connect to the VPN on its own.

Thanks.
 

snaptec

Guru
Joined
Nov 30, 2015
Messages
502
a simple and fast way would be to tunnel the rsync ports over ssh


Gesendet von iPhone mit Tapatalk
 

snaptec

Guru
Joined
Nov 30, 2015
Messages
502
from the office home FN:
ssh -L 8873:workfnip:873 user@office-ssh-ip
for example - depending if you use a third machine thats reachable on ssh.

rsync on the home box syncs to localhost:88743

you could also use zfsreplication. just ssh needs to be open


Gesendet von iPhone mit Tapatalk
 
Status
Not open for further replies.
Top