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:
parent
29f92ad3d3
commit
02ca51529e
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user