From 02ca51529e759587dc2f56aaf29e5cc16c7e3513 Mon Sep 17 00:00:00 2001 From: Giorgos Keramidas Date: Fri, 6 Jun 2008 07:17:04 +0000 Subject: [PATCH] Tweak rc.firewall to allow incoming limited broadcast traffic, when configured to run in 'client' mode. PR: conf/15010 Submitted by: Bill Trost, trost at cloud.rain.com Reviewed by: bz MFC after: 2 weeks --- etc/rc.firewall | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/rc.firewall b/etc/rc.firewall index c3d11ab6a19..fe678fcea93 100644 --- a/etc/rc.firewall +++ b/etc/rc.firewall @@ -171,6 +171,9 @@ case ${firewall_type} in mask="255.255.255.0" ip="192.0.2.1" + # Allow limited broadcast traffic from my own net. + ${fwcmd} add pass all from ${net}:${mask} to 255.255.255.255 + # Allow any traffic to or from my own net. ${fwcmd} add pass all from ${ip} to ${net}:${mask} ${fwcmd} add pass all from ${net}:${mask} to ${ip}