Project

General

Profile

Actions

Feature #12329

open

Add optional floating firewall rules for IPv4 and IPv6

Added by Offstage Roller about 3 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Avahi
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:

Description

See this thread for reference:
https://forum.netgate.com/topic/166210/fe80-16-not-included-in-interface-networks

I think it would be helpful to include a checkbox, enabled by default, to the Avahi settings page which creates the necessary firewall rules to allow for Avahi to work out of the box.

If the user choses to disable the IPv4 or IPv6 support, the firewall rule for that protocol would not be generated.

Currently, no firewall rules are generated by the package, and it's up to the user to ensure mDNS firewall rules are created on each needed interface. It's more confusing with IPv6, because I originally assumed the "* net" source would include the link local ""fe80::/64" address, but it does not. Because of that, I end up needing to create a manual rule for each of my interfaces allowing the source to be "fe80::/64" and the destination to be "ff02::fb/128". Without that rule, mDNS for IPv6 does not work and gets rejected by the default reject rule.

For IPv4, a floating rule would be created for any allowed interface, allowing for:

Source: `* net`
Destination: `224.0.0.0/3`
Port: `5353`

For IPv6, a floating rule would be created for any allowed interface, allowing for:

Source: `fe80::/64`
Destination: `ff02::fb/128`
Port: `5353`

Actions

Also available in: Atom PDF