DEV Community

Discussion on: I just got a Raspberry Pi 3. What can I do with it?

Collapse
 
darkain profile image
Vincent Milum Jr

I currently have a Pi3B+ running FreeBSD 12, 3x USB thumbdrives in a RAID-Z1 configuration, running several jails, also running ZeroTier for personal VPN access. This little toy is awesome, I use it when I need remote access to something while I'm off-site, since I can just SSH into it via ZeroTier, and then SSH from there into other machines in my network.

Collapse
 
michael profile image
Michael Lee 🍕

ZeroTier looks really interesting!

What benefits does the USB thumbdrives in RAID-Z1 have?

Thanks for sharing your setup Vincent!

Collapse
 
darkain profile image
Vincent Milum Jr

RAID-Z1 is similar to a normal RAID-5 setup for redundancy, but with the added benefit of it being ZFS based. This means things like instant snapshotting, creating virtual block devices (for VMs or iSCSI), and all the neatness of SEND/RECV to transfer entire file systems between machines. ZFS also is one of the few file systems that not only hashes every single block on the storage device, it also VERIFIES the block against the hash tree on EVERY read operation, ensuring data integrity (instead of waiting for total failure or SMART faults)

Collapse
 
klagio profile image
Klagio

< and then SSH from there into other machines in my network.

How you do this? I can access my network with Zerotier, but only those clients that have zerotier installed, not the rest

Collapse
 
darkain profile image
Vincent Milum Jr

1) Install ZeroTier on a laptop.
2) Then install ZeroTier on a Pi.
3) Have the Pi sitting at home. Take the laptop out of the house (I travel frequently, so this is normal for me).
4) Use the Pi's ZT address to SSH into it from the laptop.
5) While inside of the Pi's SSH session, use THAT to SSH into other nodes on the Pi's LAN.

I also use a Yubikey with PuTTY for SSH authentication. PuTTY supports agent forwarding, so my Yubikey will also allow authentication to other nodes within the network.