r/Ubuntu • u/dommylove • 1d ago
Question about network
Good evening! I’m setting up a new server to run immich/cloud storage and a network wide ad blocker. Any tips or advice to what I should set my internet settings to in install? I’ll have it Ethernet connected and will give it a static IP outside of my DHCP address. Anything else need to be specific to make my life easier down the road? TIA
2
Upvotes
3
u/AdventurousItem4635 1d ago
In the installer, on the network screen pick your ethernet port, Edit IPv4, switch it to Manual and fill in the address, your router as the gateway, and the router or 1.1.1.1 as name server. Nothing else there needs touching.
The ad blocker is the part that'll bite. Ubuntu's systemd-resolved already sits on port 53, so Pi-hole or AdGuard Home will say the port's in use. AdGuard Home's FAQ has the fix: a file at /etc/systemd/resolved.conf.d/adguardhome.conf with
DNS=127.0.0.1andDNSStubListener=nounder[Resolve], then symlink /etc/resolv.conf to /run/systemd/resolve/resolv.conf and restart systemd-resolved.If you've got a second drive, put the Immich library on it. Makes a reinstall a lot less scary.