mediahost crontab for user lucas mediarr: set lidarr to develpp install cleanuparr install readrr/sonarr/lidarr/prowlarr exporter for prometheus nextcloud: remive nginx hostname from trusted proxies wireguard: add wg0 conf
14 lines
646 B
Plaintext
14 lines
646 B
Plaintext
|
|
# Note: Do not edit this file directly.
|
|
# Your changes will be overwritten!
|
|
|
|
# Server
|
|
[Interface]
|
|
PrivateKey = 6CXCZMoH8bj7Ku//g0vyXms2IIffHR18K8RnOklzgnc=
|
|
Address = 10.8.0.1/24
|
|
ListenPort = 51820
|
|
PreUp =
|
|
PostUp = iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE; iptables -A INPUT -p udp -m udp --dport 51820 -j ACCEPT; iptables -A FORWARD -i wg0 -j ACCEPT; iptables -A FORWARD -o wg0 -j ACCEPT;
|
|
PreDown =
|
|
PostDown = iptables -t nat -D POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE; iptables -D INPUT -p udp -m udp --dport 51820 -j ACCEPT; iptables -D FORWARD -i wg0 -j ACCEPT; iptables -D FORWARD -o wg0 -j ACCEPT;
|