First post here. I was wondering if there are ways to revoke network access for clients having certain ports open (without permission). Not that I necessarily have a use case for this.
For example if my laptop opens port 22 for SSH access somehow without me knowing, with this method it would force me to investigate it. I could work with firewall rules banning ports, but this would not lead to me knowing about it.
Reason why I am wondering about it is because of docker:angry: (podman FTW) which I didn’t know doesn’t play nice with firewalls and opened ports even though I had those ports blocked by the firewall.