You can prevent DHCP requests by blocking communication on these ports.Īppend one or more rules to the end of the selected chain.
There must be no target of that name already. If the OS you installed on your Pi doesn’t include a GUI desktop, you can use the terminal window to search for your Raspberry Pi’s IP address. A quick way to find it is to display the arp cache of your machine.
# Incoming DHCP, pass to chain processing DHCP Finding the MAC address of a Raspberry Pi is extremely useful. # Create the DHCP_clients chain in the 'raw' table You can try using iptables to filter by MAC address.