So, I thought I had a pretty basic set up, but it has been a nightmare, and I’m still not happy with the end result…
Starting with my router settings;
Ports;
53 udp/tcp
80 tcp
443 udp/tcp
All three pointing to my servers 192.168.1.ZZZ internal IP-adress.
Here is my docker compose file;
I then found a pihole conf file in the nginx folder (pihole.subfolder.conf.sample), so I renamed it to “pihole.subfolder.conf” and hoped that would be it…(that’s the only edit I have done).
It wasn’t.
Now the strange parts…
When trying YYYYYYYYYYYYY duckdns org I get redirected to the https, see below.
When trying h t t p s YYYYYYYYYYYYY duckdns org I get the default index.html under nginx/www/.
Comment : Normal I guess, as this is the index.html under nginx/www/.
When trying h t t p s YYYYYYYYYYYYY duckdns org /pihole I get:
“”[ERROR]: Unable to parse results from queryads.php: Unhandled error message (Invalid domain!)"
Comment : There is a work around, but next time i restart the docker it is of course back…(google the above message, I’m not allowed to enter more than two links in my first post…)
When trying h t t p s YYYYYYYYYYYYY duckdns org /pihole / admin I get
Yay - I get the pihole gui!
However, the stats look very strange
The only client being “localhost”, and nothing beeing blocked…?
Default settings for the pihole.
Ads are however blocked - (but not for my cell phone via wifi…?)
The docker container logs show some strange stuff too…
In short - Pihole is up, blocking ads for wired connections, not over wifi, and the stats seems very strange…Also, something seems wrong with the letsencrypt docker file.
Any help appreciated. Sorry for long first post.
Pihole and Letsencypt logs;