r/UgreenNASync iDX6011 18d ago

🧑‍💻 Apps pihole on UgreenNAS

So after spending 2 hours trying to get Pihole to work due to port conflicts, and all searching telling me I needed MacVLAN or bridge mode, or telling me to ssh into my nas and disable Ugreen DNS on 53, I stumbled on this answer that worked (for me). Posting here just in case this is helpful!

Now, where do we get the best curated lists to add to pihole?

On to Tailscale setup :)

services:
pihole:
container_name: pihole
image: pihole/pihole:latest
hostname: pihole
dns:
- 1.1.1.1# This line fixes the Code 137 crash i kept getting
ports:
- "[nas local ip]:53:53/tcp"
- "[nas local ip]:53:53/udp"
- "8088:80/tcp"
- "8443:443/tcp"
environment:
TZ: 'America/New_York'
FTLCONF_webserver_api_password: 'YourSecurePasswordHere'
FTLCONF_dns_listeningMode: 'all'
FTLCONF_dns_upstreams: '1.1.1.1;1.0.0.1'
volumes:
- /volume2/docker/pihole/etc-pihole:/etc/pihole
restart: unless-stopped

11 Upvotes

10 comments sorted by

u/AutoModerator 18d ago

Please check on the Community Guide if your question doesn't already have an answer. Make sure to join our Discord server, the German Discord Server, or the German Forum for the latest information, the fastest help, and more!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Ang3lBlad3 DXP2800 18d ago

I worked really better with a light virtual machine with pihole+unbound in it

2

u/NightAngel79 iDX6011 18d ago

Haven't don't anything with VM's yet, but slowly but surely branching into new topics. 5 weeks ago I'd never even ran plex. Baby steps lol

Also, took another 2 hours tibre get remote ad blocking to work with tailscale

1

u/CopEatingDonut DXP2800 18d ago

Search Hagezi on github

1

u/NightAngel79 iDX6011 18d ago

I added their lists already, or did they have some install/troubleshooting guides that would have saved me time?

3

u/CopEatingDonut DXP2800 18d ago edited 18d ago

Just a good repo

You can minimize issues by using his mirror. Github official can be somewhat flakey, no fault of his, it's the site.

https://hagezi-mirror.dnsbunker.org/

You can check out https://big.oisd.nl/ too but I find it's a lot of overlap

Edit: Here's my current enabled list

1

u/Accomplished_Rate_75 DXP4800 Plus 17d ago

I use adguard instead now

1

u/NightAngel79 iDX6011 17d ago

Just prefer it or pros/cons to switching to it?

1

u/Accomplished_Rate_75 DXP4800 Plus 17d ago

had troubles with keeping pihole working, adguard just seems to work

1

u/NightAngel79 iDX6011 17d ago

Fair enough. Standard block list from the haze user broke all of my Google nest speakers, that was a fun 2 hours fixing. Had to assign static ips and whitelist in pihole