- run
docker-install.sh
- verify docker installation
- if running on raspberry pi os run
sudo apt install linux-modules-extra-raspi
- reboot system
- open port
51820/udp
on the router for the device in use - add duckDNS subdomain
- edit the .env file
- run
docker-compose up
Service | port |
---|---|
portainer | localhost:9000 |
pi-hole | $PiHoleIP/admin |
resilioSync | localhost/8888 |
- Configuration of pihole:
- Add list from https://firebog.net/
- Change Router DNS to manual -> ipv4 = $PiHoleIP (1.1.1.1 as secondary)
- Change PiHole WebUI -> setting -> DNS -> $UnboundIP#5335
change "PostUp" and "PostDown" parameter in ./appdata/wireguard/config/wg0.conf with the following
- PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth+ -j MASQUERADE
- PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -D FORWARD -o %i -j ACCEPT; iptables -D FORWARD -o %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth+ -j MASQUERADE