Firewall – What Does This Firewall Record Mean

firewalliptables

Running iptables -L -n gives me the following info:

Chain IN_ZONE_work_allow (1 references)
target     prot opt source               destination         
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:22 ctstate NEW
ACCEPT     udp  --  0.0.0.0/0            224.0.0.251          udp dpt:5353 ctstate NEW
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0            udp dpt:631 ctstate NEW

What are ACCEPT udp 0.0.0.0/0 dest 224.0.0.251 ?

Best Answer

It means you are allowed to receive multicast dns packets (dpt = destination port, 5353 = multicast dns), udp is the protocol, 224.0.0.251 is a destination multicast address, 0.0.0.0/0 means from anywhere. ctstate new means if the connection is new (packets related to "not new", ie, established, connections would be accepted via a more general rule).

In case you are not aware, on a low level, all computers on a network receive all packets send by any other computer; then they each sort them out themselves.

Related Question