On Tue, Jun 29, 2021 at 06:01:36AM -0000, DragonBillow Zhang wrote:
What do you mean by "set it's zone as home"? Do you mean you set the default zone to home? If so, that's why. All packets not assigned to a zone fall to the default zone.
The default zone of firewalld is Public, but the activated zone is home. Run commands as:
``` # firewall-cmd --get-default-zone public # firewall-cmd --get-active-zones docker interfaces: br-06ed83c1b88d br-09ee97155bb0 br-828f7b8ffdb4 docker0 home interfaces: wlp2s0 ``` I'm now connect to a family WIFI, so I set it's zone to "home".
All packets not assigned to a zone fall to the default zone.
How do I assign packets? I try to set default zone to "block" so reject these ports's packets, but it works as before.