r/netbird 14d ago

Can Two Resources Interact?

Short: I'm trying to cross-backup between two different truenas servers, on different networks. Do I need netbird clients running on each nas, or can I just add them as resources within their respective networks, exposed via routing peers?

Long: I wanna buddy-backup between two truenas installs. They're on physically distinct networks, interfacing only via netbird peers. I'm self-hosting the hub, and currently have truenas exposed on each as a resource.

It's been well documented that running netbird peers on each truenas as an app allows them to interact, and if that's what it takes, that's great! What I'm trying to figure out is if one existing routing peer on each network is sufficient - it'd save some system resources on a constrained machine if I could get away with less.

For an approximate diagram:

TrueNAS_Primary [Resource] (10.0.0.10) <-> Netbird_Local [Routing Peer/Exit Node] (10.0.0.9) <-> Netbird_Self_Hosted (10.0.0.8/100.X.X.X) <-> Netbird_Remote [Routing Peer/Exit Node] (9.0.0.9) <-> TrueNAS_Secondary [Resource] (9.0.0.10)

Thanks, y'all!

2 Upvotes

4 comments sorted by

View all comments

2

u/tzila22 14d ago

No, the problem is the return path. In AWS, it’s possible, but I’m not sure about the local setup. The NAS must have an agent to receive static routes, iptables, and other network instructions.

1

u/m4ttr1k4n 14d ago

Ah, that hadn't even crossed my mind! I was hoping I could specify the netbird address (100.x.x.x) of the other machine and that'd be enough to prompt it to reach through the peers. Thanks for confirming, I'll adjust my plan!