Pi Hole
This commit is contained in:
parent
7d15d177d0
commit
630c92708b
11 changed files with 4573 additions and 1712 deletions
1
firewall
1
firewall
|
@ -62,6 +62,7 @@ iptables -A OUTPUT -p tcp --dport 443 -j ACCEPT
|
||||||
iptables -A INPUT -p tcp --dport 7943 -j ACCEPT
|
iptables -A INPUT -p tcp --dport 7943 -j ACCEPT
|
||||||
iptables -A OUTPUT -p tcp --dport 7943 -j ACCEPT
|
iptables -A OUTPUT -p tcp --dport 7943 -j ACCEPT
|
||||||
iptables -A OUTPUT -p tcp --dport 22 -j ACCEPT # ACCEPT SSH OUTPUT LIKE GIT
|
iptables -A OUTPUT -p tcp --dport 22 -j ACCEPT # ACCEPT SSH OUTPUT LIKE GIT
|
||||||
|
iptables -A OUTPUT -p tcp --dport 2277 -j ACCEPT # ACCEPT SSH OUTPUT LIKE GITLAB UNOVA
|
||||||
|
|
||||||
# ICMP (Ping)
|
# ICMP (Ping)
|
||||||
iptables -A INPUT -p icmp -j ACCEPT
|
iptables -A INPUT -p icmp -j ACCEPT
|
||||||
|
|
|
@ -11,17 +11,18 @@ services:
|
||||||
- "53:53/udp"
|
- "53:53/udp"
|
||||||
environment:
|
environment:
|
||||||
TZ: 'Europe/Paris'
|
TZ: 'Europe/Paris'
|
||||||
|
DNSMASQ_LISTENING: 'all'
|
||||||
|
WEBPASSWORD: 'ad89wahdw9d'
|
||||||
volumes:
|
volumes:
|
||||||
- './etc-pihole:/etc/pihole'
|
- './etc-pihole:/etc/pihole'
|
||||||
- './etc-dnsmasq.d:/etc/dnsmasq.d'
|
- './etc-dnsmasq.d:/etc/dnsmasq.d'
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.middlewares.pihole-auth.basicauth.users=mrdev023:$$2y$$05$$t51tXUW6zO9dndSK1JEFS.utJ3th/RYVSgDlouOZhUigjbkTX1zQC$$"
|
|
||||||
- "traefik.http.routers.pihole-secure.entrypoints=https"
|
- "traefik.http.routers.pihole-secure.entrypoints=https"
|
||||||
- "traefik.http.routers.pihole-secure.rule=Host(`pihole.mrdev023.fr`)"
|
- "traefik.http.routers.pihole-secure.rule=Host(`pihole.mrdev023.fr`)"
|
||||||
- "traefik.http.routers.pihole-secure.middlewares=pihole-auth"
|
|
||||||
- "traefik.http.routers.pihole-secure.tls=true"
|
- "traefik.http.routers.pihole-secure.tls=true"
|
||||||
- "traefik.http.routers.pihole-secure.tls.certresolver=http"
|
- "traefik.http.routers.pihole-secure.tls.certresolver=http"
|
||||||
|
- "traefik.http.services.pihole.loadbalancer.server.port=80"
|
||||||
- "traefik.docker.network=proxy"
|
- "traefik.docker.network=proxy"
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
|
|
|
@ -34,4 +34,4 @@ log-async
|
||||||
cache-size=10000
|
cache-size=10000
|
||||||
server=8.8.8.8
|
server=8.8.8.8
|
||||||
server=8.8.4.4
|
server=8.8.4.4
|
||||||
interface=eth0
|
except-interface=nonexisting
|
||||||
|
|
Binary file not shown.
BIN
pihole/etc-pihole/gravity_old.db
Normal file
BIN
pihole/etc-pihole/gravity_old.db
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load diff
|
@ -1 +1 @@
|
||||||
5b529d1cd9fb16b56c7b862f0f6ce3d17ebf5c85 /etc/pihole/list.1.raw.githubusercontent.com.domains
|
a8f36004fbc1b224c3e3423cb7a799ae5e8997a9 /etc/pihole/list.1.raw.githubusercontent.com.domains
|
||||||
|
|
Binary file not shown.
|
@ -1,7 +1,8 @@
|
||||||
INSTALL_WEB_INTERFACE=true
|
INSTALL_WEB_INTERFACE=true
|
||||||
WEBPASSWORD=89fbcb6790ec6dcbd5f173e5c029ad7dbaa21676b39f00901d40afec2db905e7
|
WEBPASSWORD=3bbfdf71e1f0cb5be7f470af136acbd9c44821f1bf44a1c55b38b7f68d85ffe7
|
||||||
PIHOLE_DNS_1=8.8.8.8
|
PIHOLE_DNS_1=8.8.8.8
|
||||||
PIHOLE_DNS_2=8.8.4.4
|
PIHOLE_DNS_2=8.8.4.4
|
||||||
PIHOLE_INTERFACE=eth0
|
PIHOLE_INTERFACE=eth0
|
||||||
QUERY_LOGGING=true
|
QUERY_LOGGING=true
|
||||||
BLOCKING_ENABLED=true
|
BLOCKING_ENABLED=true
|
||||||
|
DNSMASQ_LISTENING=all
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
INSTALL_WEB_INTERFACE=true
|
INSTALL_WEB_INTERFACE=true
|
||||||
WEBPASSWORD=89fbcb6790ec6dcbd5f173e5c029ad7dbaa21676b39f00901d40afec2db905e7
|
WEBPASSWORD=3bbfdf71e1f0cb5be7f470af136acbd9c44821f1bf44a1c55b38b7f68d85ffe7
|
||||||
PIHOLE_DNS_1=8.8.8.8
|
PIHOLE_DNS_1=8.8.8.8
|
||||||
PIHOLE_DNS_2=8.8.4.4
|
PIHOLE_DNS_2=8.8.4.4
|
||||||
PIHOLE_INTERFACE=eth0
|
PIHOLE_INTERFACE=eth0
|
||||||
QUERY_LOGGING=true
|
QUERY_LOGGING=true
|
||||||
BLOCKING_ENABLED=true
|
BLOCKING_ENABLED=true
|
||||||
|
DNSMASQ_LISTENING=all
|
||||||
|
|
|
@ -5,7 +5,7 @@ CORE_VERSION=v5.13-0-g17779ba
|
||||||
WEB_VERSION=v5.16-0-gc2afe42
|
WEB_VERSION=v5.16-0-gc2afe42
|
||||||
FTL_VERSION=v5.18.2
|
FTL_VERSION=v5.18.2
|
||||||
DOCKER_VERSION=2022.10
|
DOCKER_VERSION=2022.10
|
||||||
GITHUB_CORE_VERSION=
|
GITHUB_CORE_VERSION=v5.13
|
||||||
GITHUB_WEB_VERSION=
|
GITHUB_WEB_VERSION=v5.16
|
||||||
GITHUB_FTL_VERSION=
|
GITHUB_FTL_VERSION=v5.18.2
|
||||||
GITHUB_DOCKER_VERSION=
|
GITHUB_DOCKER_VERSION=2022.10
|
||||||
|
|
Loading…
Reference in a new issue