Block port 68 as well as 67. And are you sure the output rule is the best place for that?
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
As I want the system to be quite ( not sending data ) I was suspected the output
hook to be the one. what are you suggesting ?
Ah. It just didn't compute for me. I'd think stopping the DHCP server or making it not listen on that interface would be easier than trying to firewall it off.
Yeah, blocking thise inbound and outbound will quiet that service.
Why block from the firewall. Normally you would set a static ip to not use dhcp. You could also uninstall or disable the dhcp client service.
Obviously, but I'm anyway wondering why it doesn't blocking like it should
I hope nftables do not let other pass like this...
DHCP uses raw sockets so it gets to skip the normal networking stack. See here for the same question on Reddit: https://www.reddit.com/r/linuxadmin/comments/flcsc8/nftables_not_blocking_incoming_dhcp_traffic/
I know nftable is more secure and robust but sometimes I feel like iptables is the way.
They are literally the same now. Use IPtables it's getting converted to nftables now. Just a different interface.