Closed binderth closed 2 years ago
This is likely an issue with iptables
with DSM. Take a look at this script (gist) to fix Docker iptables on Synology NAS and see if that resolves your issue. The instructions are in this comment.
Thanks! That did the trick!
Finally got the docker image running on my DSM720+ (DSM 7.0.1-42218 Update 3) and the DNS is working.
except all queries originate from the local IP-adress of the docker image:
Is it me again, who screwed up some configuration? ;)
configuration
``` { "CapAdd" : null, "CapDrop" : null, "cmd" : "docker-compose up -d", "cpu_priority" : 50, "enable_publish_all_ports" : false, "enable_restart_policy" : true, "enabled" : true, "entrypoint_default" : "/bin/bash -c ./start_unbound_and_s6_init.sh", "env_variables" : [ { "key" : "PATH", "value" : "/opt/pihole:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" }, { "key" : "phpver", "value" : "php" }, { "key" : "PIHOLE_DOCKER_TAG", "value" : "2022.02.1" }, { "key" : "S6_OVERLAY_VERSION", "value" : "v2.1.0.2" }, { "key" : "PIHOLE_INSTALL", "value" : "/etc/.pihole/automated install/basic-install.sh" }, { "key" : "PHP_ENV_CONFIG", "value" : "/etc/lighttpd/conf-enabled/15-fastcgi-php.conf" }, { "key" : "PHP_ERROR_LOG", "value" : "/var/log/lighttpd/error.log" }, { "key" : "IPv6", "value" : "True" }, { "key" : "S6_LOGGING", "value" : "0" }, { "key" : "S6_KEEP_ENV", "value" : "1" }, { "key" : "S6_BEHAVIOUR_IF_STAGE2_FAILS", "value" : "2" }, { "key" : "ServerIP", "value" : "192.168.78.18" }, { "key" : "FTL_CMD", "value" : "no-daemon" }, { "key" : "DNSMASQ_USER", "value" : "pihole" }, { "key" : "PIHOLE_DNS_", "value" : "127.0.0.1#5335;::1#5335" }, { "key" : "DHCP_ACTIVE", "value" : "false" }, { "key" : "ADMIN_EMAIL", "value" : "email@email.de" }, { "key" : "DNS_BOGUS_PRIV", "value" : "true" }, { "key" : "DNS_FQDN_REQUIRED", "value" : "true" }, { "key" : "BLOCKING_ENABLED", "value" : "true" }, { "key" : "REV_SERVER_CIDR", "value" : "192.168.0.0/24" }, { "key" : "REV_SERVER_TARGET", "value" : "192.168.78.1" }, { "key" : "REV_SERVER_DOMAIN", "value" : "fritz.box" }, { "key" : "REV_SERVER", "value" : "true" }, { "key" : "WEBPASSWORD", "value" : "PASSWORD" }, { "key" : "TZ", "value" : "Europe/Berlin" } ], "exporting" : false, "id" : "22b9ae2d644a11d09fbbaca632df56451ae3bcae003e2f31694a3e614e52aee5", "image" : "pihole-unbound:2022315", "is_ddsm" : false, "is_package" : false, "links" : [], "memory_limit" : 1073741824, "name" : "pihole-unbound", "network" : [ { "driver" : "bridge", "name" : "bridge" } ], "network_mode" : "bridge", "port_bindings" : [ { "container_port" : 443, "host_port" : 4430, "type" : "tcp" }, { "container_port" : 53, "host_port" : 53, "type" : "tcp" }, { "container_port" : 53, "host_port" : 53, "type" : "udp" }, { "container_port" : 80, "host_port" : 8800, "type" : "tcp" } ], "privileged" : false, "shortcut" : { "enable_shortcut" : false, "enable_status_page" : false, "enable_web_page" : false, "web_page_url" : "" }, "use_host_network" : false, "volume_bindings" : [ { "host_volume_file" : "/docker/pihole/dnsmasq.d", "mount_point" : "/etc/dnsmasq.d", "type" : "rw" }, { "host_volume_file" : "/docker/pihole/pihole", "mount_point" : "/etc/pihole", "type" : "rw" } ] } ```