This repository has been archived on 2023-08-13. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2022-09-22 18:54:49 +02:00
dl-server Set scripts to new run_directory norm 2022-09-22 18:54:49 +02:00
README.md Update README 2022-09-16 13:44:22 +02:00
setup.sh Update setup script with new conf-sync, new options, and add variables file 2022-06-06 14:47:29 +02:00
srv-nas.mount Remove TLS for FTP, and add encrypted disk config 2021-11-15 17:58:52 +01:00
variables.conf.template Update setup script with new conf-sync, new options, and add variables file 2022-06-06 14:47:29 +02:00

NAS Server (OBSOLETE)

This repository contains files used to set up our NAS server on a freshly installed Armbian. Target is Bullseye.

Introduction

The SBC used has a hard drive attached (SATA), which is the storage drive. This disk should be encrypted if needed.

An FTP server is installed on the device, providing network access to authorized people.

Setup

Installation
  • setup.sh is a script automating the installation and configuration of required software.
  • variables.conf.template contains examples variables definitions, and should be copied locally to variables.conf (with any required modifications).
  • srv-nas.mount is a systemd unit which, when started, will try to mount DATA drive.
DL server
  • transmission-daemon.service is a replacement for default Transmission service file, with more settings.
  • transmission-vpn.sh is a script which checks if a VPN connection is active and stops Transmission otherwise.
  • transmission-vpn.service is a service unit for above script.
  • transmission-vpn.timer is a timer which runs regularly above script.
  • variables.conf.template contains examples variables definitions, and should be copied locally to variables.conf (with any required modifications).
  • install.sh script copies Systemd units to their destination, with correct values.

TODO

  • Add TLS cert generation to DL setup