Skip to content

Instantly share code, notes, and snippets.

@psct
Created August 15, 2019 20:45
Show Gist options
  • Save psct/f35e2f6a75c6263f6deca97bb60d53e1 to your computer and use it in GitHub Desktop.
Save psct/f35e2f6a75c6263f6deca97bb60d53e1 to your computer and use it in GitHub Desktop.
Konfigurationsdatei für darkstat: /etc/darkstat/init.cfg
# Turn this to yes when you have configured the options below.
START_DARKSTAT=yes
# Don't forget to read the man page.
# You must set this option, else darkstat may not listen to
# the interface you want
INTERFACE="-i wg0"
DIR="/var/lib/darkstat"
PORT="-p 666"
BINDIP="-b 127.0.0.1"
LOCAL="--local-only -l 192.168.42.0/24"
#LOCAL="--local-only"
# fd00::24:0/8"
# File will be relative to $DIR:
#DAYLOG="--daylog darkstat.log"
# Don't reverse resolve IPs to host names
#DNS="--no-dns"
#FILTER="(src net 192.168.42 or dst net 192.168.42 or src net fd00:42::/64 or dst net fd00:42::/64)"
# Additional command line Arguments:
# OPTIONS="--syslog --no-macs"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment