FreeBSD Bugzilla – Attachment 9983 Details for
Bug 20197
rc.firewall with firewall_type=simple doesn't work with natd
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 734 bytes, created by
Stephen Montgomery-Smith
on 2000-07-26 18:40:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Stephen Montgomery-Smith
Created:
2000-07-26 18:40:01 UTC
Size:
734 bytes
patch
obsolete
>--- /usr/etc-chg/4.0158/etc/rc.firewall Sat Jul 15 19:31:58 2000 >+++ rc.firewall Wed Jul 26 02:28:01 2000 >@@ -178,6 +178,17 @@ > ${fwcmd} add deny all from 192.168.0.0/16 to any via ${oif} > ${fwcmd} add deny all from any to 192.168.0.0/16 via ${oif} > >+ # Change the natd rule to here, otherwise the RFC1918 rules might >+ # kill valid packets made by natd >+ case ${natd_enable} in >+ [Yy][Ee][Ss]) >+ if [ -n "${natd_interface}" ]; then >+ ${fwcmd} delete 50 >+ ${fwcmd} add divert natd all from any to any via ${natd_interface} >+ fi >+ ;; >+ esac >+ > # Stop draft-manning-dsua-01.txt nets on the outside interface > ${fwcmd} add deny all from 0.0.0.0/8 to any via ${oif} > ${fwcmd} add deny all from any to 0.0.0.0/8 via ${oif}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 20197
: 9983 |
9984
|
9985