Mainly intended for myself to document my config but this may be useful to others as well. Wherever possible this configuration uses LibreSSL as the OpenSSL library.

System overview

LAN: 192.2.0.0/24 Gateway: 192.2.0.254 Server: 192.2.0.1

The active home-server is always "meterkast" (utilities cabinet in Dutch).

Hardware

I try to run very efficient home-servers. Always using FreeBSD, since 5.4. Always the latest release. Since ca. 2016 running LibreBSD, my own spin on FreeBSD with LibreSSL replacing OpenSSL.

Meterkast 7.0

Storage was simply migrated over from meterkast6. Silent, performant, extension capable. Likely the second m2 2280 slot will become a 5x SATA port.

Historical hardware

Mostly these are ex-employer old systems that reached end-of-life and could be taken over for below 100EUR.

Meterkast 6.0

Repurposed as daily driver with Windows 11 reusing the original 256GB NVME SSD.

Meterkast 5.0

Repurposed as lab environment.

Meterkast 4.0

Meterkast 3.0

Meterkast 2.0

Meterkast 1.0

Intended use

Links will go to more detailed wiki articles

  1. DHCP/DNS server

  2. File-server
  3. Backup target for Desktop and laptops
  4. Cloud storage server
  5. Web-server
    • Personal website
    • Family website
    • Freelance website
  6. Mail-server (AKA OpenSMTPd) (incl spam classification and virus scanning)

Software

  1. dnsmasq for DHCP and dynamic DNS

  2. Unbound as validating, caching and recursive DNS resolver

  3. OpenLDAP as user and authentication backend

  4. Samba 4.2 as file-server and for backup-target

  5. rsync for backups

  6. OpenVPN for secure internet access for my mobile devices

  7. Apache 2.4 as web-server

    1. ownCloud as cloud storage/calendar/contacts server

    2. PHP 5.6, etc. as required

    3. MariaDB for apps requiring database backend

  8. OpenSMTPd as mail server

    1. Dovecot as LDA and IMAP server

    2. AMaVisD as networked scanner daemon

    3. ClamAV as virus scanner

    4. SpamAssassin as rule-based spam classifier

    5. dspam as Bayesian spam classifier

  9. System management

Jails

Anything that can be connected from the internet is jailed. Mail scanner was separated provide additional isolation.

Every jail is firewalled using ipfw.

  1. tor gets access to the internet only (not LAN) and is denied anything else
  2. Allow all jails to access DNS
  3. jails get specific access, anything else is denied

BernardSpil/HomeServer (last edited 2025-01-18T12:35:53+0000 by BernardSpil)