diff options
author | Giorgos Keramidas <keramida@FreeBSD.org> | 2008-06-06 07:17:04 +0000 |
---|---|---|
committer | Giorgos Keramidas <keramida@FreeBSD.org> | 2008-06-06 07:17:04 +0000 |
commit | 02ca51529e759587dc2f56aaf29e5cc16c7e3513 (patch) | |
tree | 26d50233a7bc9db9f856783560de35c6e724a10c /etc/rc.firewall | |
parent | 29f92ad3d3b22eaa405a05a820e3ebf5b531a9c8 (diff) | |
download | src-02ca51529e759587dc2f56aaf29e5cc16c7e3513.tar.gz src-02ca51529e759587dc2f56aaf29e5cc16c7e3513.zip |
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
Notes
Notes:
svn path=/head/; revision=179598
Diffstat (limited to 'etc/rc.firewall')
-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 c3d11ab6a19c..fe678fcea935 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} |