2021-10-17 19:40:18 +02:00
|
|
|
---
|
2021-10-20 19:48:17 +02:00
|
|
|
### mgrote.apt_manage_sources
|
|
|
|
manage_sources_apt_proxy: ""
|
2021-10-17 19:40:18 +02:00
|
|
|
### mgrote.tor-node
|
|
|
|
tor_relay_name: tor1mgrote
|
|
|
|
tor_or_port: 9001
|
|
|
|
tor_socks_port: 0
|
|
|
|
tor_control_socket: 0
|
|
|
|
tor_contact_info: webmaster(at)mgrote(dot)net
|
|
|
|
tor_control_port: 9051
|
2021-12-08 11:06:00 +01:00
|
|
|
tor_mode: relay
|
2021-10-17 19:40:18 +02:00
|
|
|
### oefenweb.ufw
|
|
|
|
ufw_rules:
|
|
|
|
- rule: allow
|
|
|
|
to_port: 22
|
|
|
|
protocol: tcp
|
|
|
|
comment: 'ssh'
|
|
|
|
from_ip: 0.0.0.0/0
|
|
|
|
- rule: allow
|
|
|
|
to_port: 4949
|
|
|
|
protocol: tcp
|
|
|
|
comment: 'munin'
|
|
|
|
from_ip: 0.0.0.0/0
|
|
|
|
- rule: allow
|
|
|
|
to_port: "{{ tor_or_port }}"
|
|
|
|
protocol: tcp
|
|
|
|
comment: 'tor'
|
|
|
|
from_ip: 0.0.0.0/0
|
|
|
|
### geerlingguy.munin-node
|
|
|
|
munin_node_bind_port: "4949"
|
|
|
|
munin_node_allowed_cidrs: [0.0.0.0/0]
|
|
|
|
munin_node_plugins:
|
|
|
|
- name: chrony
|
2021-11-07 12:22:11 +01:00
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/chrony/chrony
|
2021-10-17 19:40:18 +02:00
|
|
|
- name: fail2ban
|
|
|
|
src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/extern/fail2ban
|
|
|
|
config: |
|
|
|
|
[fail2ban]
|
|
|
|
env.client /usr/bin/fail2ban-client
|
|
|
|
env.config_dir /etc/fail2ban
|
|
|
|
user root
|
|
|
|
- name: systemd_status
|
2021-11-07 12:22:11 +01:00
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/systemd/systemd_status
|
2021-10-17 19:40:18 +02:00
|
|
|
- name: lvm_
|
2021-11-07 12:22:11 +01:00
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/disk/lvm_
|
2021-10-17 19:40:18 +02:00
|
|
|
config: |
|
|
|
|
[lvm_*]
|
|
|
|
user root
|
|
|
|
- name: tor_traffic
|
2021-11-07 12:22:11 +01:00
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/tor/tor_
|
2021-10-17 19:40:18 +02:00
|
|
|
config: |
|
|
|
|
[tor_*]
|
|
|
|
user root
|
|
|
|
group root
|
|
|
|
env.torcachefile munin_tor_country_stats.json
|
|
|
|
env.torconnectmethod port
|
|
|
|
env.torgeoippath /usr/share/GeoIP/GeoIP.dat
|
|
|
|
env.tormaxcountries 15
|
|
|
|
env.torport {{ tor_control_port }}
|
|
|
|
env.torsocket /var/run/tor/control
|
|
|
|
- name: tor_bandwidth
|
2021-11-07 12:22:11 +01:00
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/tor/tor_
|
2021-10-17 19:40:18 +02:00
|
|
|
- name: tor_connections
|
2021-11-07 12:22:11 +01:00
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/tor/tor_
|
2021-10-17 19:40:18 +02:00
|
|
|
- name: tor_countries
|
2021-11-07 12:22:11 +01:00
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/tor/tor_
|
2021-10-17 19:40:18 +02:00
|
|
|
- name: tor_dormant
|
2021-11-07 12:22:11 +01:00
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/tor/tor_
|
2021-10-17 19:40:18 +02:00
|
|
|
- name: tor_routers
|
2021-11-07 12:22:11 +01:00
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/tor/tor_
|
2021-10-17 19:40:18 +02:00
|
|
|
### mgrote.ntp_chrony_server
|
|
|
|
ntp_chrony_timezone: "Europe/Berlin"
|
|
|
|
ntp_chrony_servers:
|
|
|
|
- address: ptbtime1.ptb.de
|
|
|
|
options: iburst
|
|
|
|
- address: ntp0.ewetel.de
|
|
|
|
options: iburst
|
|
|
|
### mgrote.tmux
|
|
|
|
tmux_conf_destination: "/home/mg/.tmux.conf"
|
|
|
|
tmux_bashrc_destination: "/home/mg/.bashrc"
|
|
|
|
tmux_standardsession_name: "default"
|
2021-11-05 21:10:27 +01:00
|
|
|
### mgrote.apt_manage_packages
|
|
|
|
apt_packages_extra:
|
2021-10-17 19:40:18 +02:00
|
|
|
- python3-stem # für munin-tor_
|
|
|
|
- geoip-bin # für munin-tor_
|
|
|
|
- geoip-database # für munin-tor_
|
|
|
|
- geoipupdate # für munin-tor_
|
|
|
|
- python3-geoip # für munin-tor_
|
2021-10-18 18:32:14 +02:00
|
|
|
- open-vm-tools
|
2021-10-17 19:40:18 +02:00
|
|
|
### mgrote.fail2ban
|
|
|
|
f2b_bantime: 3600
|
|
|
|
f2b_findtime: 600
|
|
|
|
f2b_maxretry: 3
|
|
|
|
f2b_send_email_report: false
|
2021-10-20 19:59:16 +02:00
|
|
|
### mgrote.restic
|
|
|
|
restic_enable_role: false
|