Synology - PiHole Configuration
This is to create a MAC vlan on you synology to bridge interfaces
My testing vlan uses 192.168.253.0/24
sudo docker network create -d macvlan -o parent=eth3 --subnet=192.168.253.0/24 --gateway=192.168.253.1 --ip-range=192.168.253.44/32 ph_network
YAML Configurations
version: Install"3"
Portainer
services:
sudopihole:
dockercontainer_name: runpihole
image: pihole/pihole:latest
ports:
--name= "portainer"53:53/tcp"
-d "53:53/udp"
--restart=always "67:67/udp"
-p 9000:9000"80:80/tcp"
networks:
-v /var/run/docker.sock:/var/run/docker.sockph_network
-v ph_bridge
environment:
TZ: 'America/Montreal'
FTLCONF_webserver_api_password: '[Your_Password_Here]'
DNSMASQ_LISTENING: local
volumes:
- '/volume1/docker/portainer:pihole/pihole:/dataetc/pihole'
-v '/usr/syno/volume1/docker/pihole/dnsmasq.d:/etc/certificate/system/default:/certsdnsmasq.d'
portainer/portainer-cecap_add:
- NET_ADMIN
restart: unless-stopped
networks:
ph_bridge:
driver: bridge
ipam:
config:
- subnet: 192.168.100.0/24
gateway: 192.168.100.1
ip_range: 192.168.100.2/32
ph_network:
name: ph_network
external: true
Accessing the pi-hole remotely
https://
github.com/prt1999/Synology_model_upgrade
https://xpenology.com/forum/topic/69328-converting-ds1515-into-ds1517-dsm-72/page/3/
https://archive.synology.com/download/Os/DSM/7.2.2-72806
|