adguardhome: fix ports
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
88e234f0ac
commit
a55109782c
1 changed files with 9 additions and 4 deletions
|
@ -17,15 +17,18 @@ in {
|
||||||
virtualisation.arion.projects.adguardhome.settings.services = {
|
virtualisation.arion.projects.adguardhome.settings.services = {
|
||||||
# https://github.com/AdguardTeam/AdGuardHome
|
# https://github.com/AdguardTeam/AdGuardHome
|
||||||
# https://adguard-dns.io/kb/adguard-home/overview/
|
# https://adguard-dns.io/kb/adguard-home/overview/
|
||||||
|
#?? ls /var/lib/caddy/.local/share/caddy/certificates/*
|
||||||
adguardhome.service = {
|
adguardhome.service = {
|
||||||
container_name = "adguardhome";
|
container_name = "adguardhome";
|
||||||
image = "adguard/adguardhome:v0.107.56";
|
image = "adguard/adguardhome:v0.107.56";
|
||||||
|
|
||||||
ports = [
|
ports = [
|
||||||
"53:53" # DNS
|
"53:53/tcp" # DNS
|
||||||
"853:853" # DNS-over-TLS
|
"53:53/udp" # DNS
|
||||||
"3003:80" # Admin panel
|
"853:853/tcp" # DNS-over-TLS
|
||||||
"8443:443" # DNS-over-HTTPS
|
"853:853/udp" # DNS-over-QUIC
|
||||||
|
"3003:80/tcp" # Admin panel
|
||||||
|
"8443:443/tcp" # DNS-over-HTTPS
|
||||||
];
|
];
|
||||||
|
|
||||||
restart = "unless-stopped";
|
restart = "unless-stopped";
|
||||||
|
@ -40,11 +43,13 @@ in {
|
||||||
# https://github.com/AdguardTeam/AdGuardHome/wiki/Encryption
|
# https://github.com/AdguardTeam/AdGuardHome/wiki/Encryption
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
allowedTCPPorts = [
|
allowedTCPPorts = [
|
||||||
|
53 # DNS
|
||||||
853 # DNS-over-TLS
|
853 # DNS-over-TLS
|
||||||
];
|
];
|
||||||
|
|
||||||
allowedUDPPorts = [
|
allowedUDPPorts = [
|
||||||
53 # DNS
|
53 # DNS
|
||||||
|
853 # DNS-over-QUIC
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue