mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-20 00:33:57 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=179598
|
@ -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 a new issue