In my environment I need to support NFS clients (NFS is faster – good for streaming) and also SMB clients (Mac & Windows). The following notes are the results of my experimentation in using different methods for restricting access to the shares. NFS shares depend upon user UIDs matching, and permissions only seem to work […]
Archive for the ‘TrueNAS Core’ Category
Offsite backup with TrueNAS Core, Duplicacy and an SFTP destination with public key authentication
Here’s the process to set up duplicacy to send backup data to a remote SFTP server, with unattended operation supported through using public key authentication. I will assume you already have: an account set up on the destination server generated an ssh keypair with ssh-keygen and NOT specified a passphrase (or add the passphrase in […]
Sending external email from TrueNAS FreeBSD jails
Background The thing about FreeBSD jails and VMs is that they’re so easy to set up one tends to end up with many of them, each with its own purpose. Though they don’t have a physical form they’re still full servers, doing all the things servers do unless you configure them not to, and sometimes […]
Configuring sendmail on TrueNAS FreeBSD jails
N.B. This post is as much an aide-memoire to myself as anything else. I found it difficult to find the right web search terms to use to learn how to configure sendmail, so this information was more or less hard-won by experience, hence I don’t want to forget it. Basics Sendmail’s configuration files live […]
Backing up ZFS datasets from Linux to FreeNAS (TrueNAS Core)
A FreeNAS box (okay, TrueNAS Core as we should now call it) is an ideal place to perform set-and-forget, reliable backups of my Linux laptop, given that both devices now use the OpenZFS 2.x filesystem. This howto is not intended to be a ZFS primer – I am assuming the reader already understands ZFS terminology […]
Offsite backup with TrueNAS Core, Duplicacy and Backblaze B2
Just recording this here as a reminder to myself. I tried out a couple of backup tools to run offsite backup of my TrueNAS Core ZFS system dataset pool and settled on Duplicacy, since it seemed reliable and works with BackBlaze B2. Setting up Duplicacy was as simple as downloading the command-line executable then executing […]
OpenVPN watchdog (and Private Internet Access port forwarding) script for FreeNAS
When a VPN is running then you tend to want to be sure it is running, or else lose access to what’s at the other end of the pipe. One way to ensure this is have a script run periodically that checks that the VPN connection is up, restarting it if it is not. Running […]