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
This commit is contained in:
Giorgos Keramidas 2008-06-06 07:17:04 +00:00
parent 29f92ad3d3
commit 02ca51529e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=179598

View file

@ -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}