mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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
1 changed files with 3 additions and 0 deletions
|
|
@ -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