I've setup Pihole on both Synology and Ubuntu with success (lucky me). While on Ubuntu was quite straightforward, on Synology needed some experiment.submitted by europacafe to pihole [link] [comments]
I do not activate DHCP function on my Synology; my TPLink wifi router handles it without problem.
My Synology fixed IP is 192.168.2.4 (yours could be different)
On Synology, thanks to this website, https://servicemax.com.au/tips/pi-hole-v4-on-synology-in-docker-the-easy-way/ which gave me 99% success.
Please find below broad steps in setting Pihole version 4.2.2 (latest as at this article) on Synology DSM 6.xx docker:
They are all the set up I did on my Synology.
On main Wifi Router
The other setup to do is to change default DNS servers on my main wifi router (TPLink). My ISP assigns DNS1 and DNS2 IP for my router, but the router allows me to manually change them. I changed only the DNS1 value to be my Synology fixed IP address, which is 192.168.2.4; and left the second DNS remains same. From this setup, all devices in my home will be using Pihole services automatically (filter out Ad, porn websites, bitcoin mining....). You may add more blacklist urls under Setting in Pihole admin page.
If you don't want Pihole to filter ad for all your devices, you don't have to change the DNS on your main router. Instead, on the device you wish to have Pihole controlled, you can change the first DNS IP to be your Synology IP, mine is 192.168.2.4 (yours could be different); and keeps the second DNS as is (mine is my main router IP which is 192.168.2.1)
Once you completed the setup on both Synology and Router, log into Pihole admin page, see the statistics in Dashboard, it should display Total number of queries, queries blocked, etc... If no movement on these numbers, that means the setup was not right, you can check the Pihole container log on Synology (in DetailsLog tab).
Pihole container consumes only 0.1x% of my DS411+II Atom D525 CPU, and 300+/- MB ram (from 2GB total RAM). I also run full Calibre engine and content server docker without problem on it.
The Pihole on my Ubuntu will be my backup.
Ports mapping: change from Auto
Change ServerIP value and add variable WEBPASSWORD only
The client has Ubuntu 14.04 LTS with network-manager and is bound to the router via the wlan0 interface (router acts as access point). Under the GUI configuration of the Ubuntu network-manager from the IPv6 tab I choose "Method: automatically, only DHCP" (so I expect stateful DHCPv6 configuration of the client - it should get an ipv6-address out of the above defined range). However, that does ... DHCP Relay setup in ubuntu server. Ask Question Asked 8 years, 10 months ago. ... How do I setup DHCP relay on my linux server given there are two NICs attached to it, one connects the linux server to the network appliance and the other connects the linux server to the client computers. EDIT. Router (DHCP) ----> [eth0] Linux Server (Relay agent) [eth1] -----> PC (network) Router IP is 192.168 ... Client Setup. Currently there are three different DHCP client programs for Linux, dhcpcd, pump and dhclient. This mini-HOWTO deals primarily with dhcpcd. 3.1. Downloading the client daemon (dhcpcd) Depending on your distribution you might have to download the DHCP client daemon. If you want to compile it from the source you package you need is called dhcpcd and the current version is 1.3.18 ... I'm trying to configure my Raspberry Pi 4B running Ubuntu 18.04 with a static IP address (to then configure a DHCP server) and use the WiFi for internet traffic (routing any clients connecting to the DHCP through to the WiFi connection) but I cannot define a static IP address for the LAN, using netplan I have the config: `network: #LAN ... Click the large blue Download Bitcoin Core button to download the Bitcoin Core installer to your Downloads folder. Optional: Verify the release signatures . If you know how to use PGP, you should also click the Verify Release Signatures link on the download page to download a signed list of SHA256 file hashes. The 0.11 and later releases are signed by Wladimir J. van der Laan’s releases key
[index]          
Ubuntu Server 18.04 - Setup DNS, DHCP And Static IP Address This video shows how to from the start how to setup a static IP address on Ubuntu Server 18.04. I... Installation isc-dhcp-server Assign a static IP address to the server DHCP file configuration /etc/dhcp/dhcpd.conf BitCoin mining on Ubuntu using specialized ASIC procesors and Ubuntu software such as: CGMiner, BFGMiner, EasyMiner https://linuxhint.com/best-usb-bitcoin-mi... How to configure DHCP Server in Ubuntu Linux 18.04 ( Complete Server & client ) - Duration: 16:46. Android and Tech Solutions 48,792 views. 16:46. How to configure DHCP Server in Ubuntu Linux 18.04 ( Complete Server & client ) - Duration: 16:46. Android and Tech Solutions 54,328 views. 16:46.