DHPC issue - discoverable, but won't connect from laptop


I am experiencing issues with my DHCP server which is set up on my RBP.

Expected Behaviour:

Connect to WiFi from the laptop works with automatic settings, thanks to DHCP.

Actual Behaviour:

Cannot get address unless I set up IP, mask, gateway and DNS manually.

More info

  • LAN:;
  • Gateway is a Netgear RAX80 on;
  • RPB4 8 Gb with Raspberry Pi OS Lite (32 bit) is on;
  • Upstream DNS: cloudflared on;
  • I have disabled DHCP on my router and activated it on Pihole;
  • It seems the DHCP is discoverable on the network when running nmap --script broadcast-dhcp-discover -e wlan0 on my laptop: see output below;
  • Firewall: nftables.


  • Debug token: https://tricorder.pi-hole.net/4i39jsoc84
  • /etc/nftables.conf: pastebin.com/5Nrgbq4k
  • /etc/cloudflared/config.yml: pastebin.com/7b4n0Tre
  • /etc/pihole/setupVars.conf: pastebin.com/D8AqUNjf
  • /etc/dhcpcd.conf: pastebin.com/qAHHDYY3
  • nmap discover: pastebin.com/twFXi4Nr

Have a nice day!

The debug log shows that DHCP is working:

*** [ DIAGNOSING ]: Discovering active DHCP servers (takes 10 seconds)
   Scanning all your interfaces for DHCP servers
   Timeout: 10 seconds
   WARN: Could not sendto() in send_dhcp_discover() (/root/project/src/dhcp-discover.c:223): Network is unreachable
   * Received 300 bytes from eth0:
     Offered IP address:
     Server IP address:
     Relay-agent IP address: N/A
     BOOTP server: (empty)
     BOOTP file: (empty)
     DHCP options:
      Message type: DHCPOFFER (2)
      lease-time: 86400 ( 1d )
      renewal-time: 43200 ( 12h )
      rebinding-time: 75600 ( 21h )
      domain-name: "hermes"
      --- end of options ---
   DHCP packets received on interface lo: 0
   DHCP packets received on interface wlan0: 0
   DHCP packets received on interface eth0: 1

Hello, thank you for your reply.

I solved the issue by adding the following line /etc/nftables.conf:

udp sport bootpc udp dport bootps ip saddr ip daddr accept comment "Accept DHCPDISCOVER (for DHCP-Proxy)"

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.