Giter Club home page Giter Club logo

freenas-jailconfig's Introduction

Jails configuration for FreeNAS

Configure your FreeNAS jails with ansible.
All software and their dependencies are automatically installed. Most of the configuration is taken care of as well, with the exception of settings only configurable through a web front-end (such as credentials for Usenet in SABnzbd).
All jails have mDNS set-up, so you can access them on the internal network with [[jailname]].local.

The jails are:

  • Reverse proxy
    • Acts as a internet facing frontend for all jail webinterfaces
    • Has a nice landing page where you can add links and parallax images for navigation
    • Automatically sets up letsencrypt
    • Authenticates you via your Google account
  • DNSCrypt Proxy
    • All jails can be configured to use this one for name resolution
    • You can set your DHCP server to tell the rest of the network to use this jail for name resolution
  • Unifi server
    • Easy access to your Unifi AP configuration interface
    • Run your Unifi management software as a daemon so it can collect stats
  • SABnzbd
  • rTorrent + ruTorrent
    • Contains some extra labels for ruTorrent
  • Jackett
  • Sonarr
  • Radarr
  • Plex media server
  • Grafana + Telegraf + InfluxDB statistics
    • Supports fetching data through IPMI from your server
    • Can get your overall network usage through SNMP from your router (only tested with Linksys LRT214)
    • Can pull data from FreeNAS' own collectd service (see host_vars/[email protected], pre-made Grafana dashboard at roles/stats/)
    • Pulls all S.M.A.R.T. data from your HDDs & SSDs (also has a pre-made Grafana dashboard)
  • Elasticsearch + Kibana Logstash + Filebeat for log aggregation
    • Most other jails are set up with filebeat to forward their logs to this jail (some parsing of logs and setup is still missing to see all logs in all jails)
    • Normalizes data from different loggers so that fields containing the same data have the same name
    • Can act as a rsyslog server for FreeNAS, Unifi, your router, and other devices on your network

Setup

Start by creating the jails you want to create in FreeNAS. The names must match the ones used in this project, check out inventories/hosts.yaml for a list. Comment out any jail you are not interested in.
Read the *.template files in host_vars/ for instructions for the different jails and copy them to the same directory but omit .template part to enable them.

Backup

scripts/ contains two scripts that you can use for creating versioned backups of both your FreeNAS configuration database and the userdata of the software running in your jails.
The jail backup script uses rsync with hardlinks two preserve diskspace.

freenas-jailconfig's People

Contributors

andsens avatar bondo avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.