diff options
author | keramida <keramida@FreeBSD.org> | 2008-06-06 07:17:04 +0000 |
---|---|---|
committer | keramida <keramida@FreeBSD.org> | 2008-06-06 07:17:04 +0000 |
commit | 0292737640c94ce34729f6d1360c3d6c1a05ccff (patch) | |
tree | 26d50233a7bc9db9f856783560de35c6e724a10c | |
parent | 65134490dcc1e3fd448e367e4b961bbe06d063b5 (diff) | |
download | FreeBSD-src-0292737640c94ce34729f6d1360c3d6c1a05ccff.zip FreeBSD-src-0292737640c94ce34729f6d1360c3d6c1a05ccff.tar.gz |
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
-rw-r--r-- | etc/rc.firewall | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc.firewall b/etc/rc.firewall index c3d11ab..fe678fc 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} |