FreeBSD Bugzilla – Attachment 18734 Details for
Bug 33545
Add variables to rc.conf for rc.firewall
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.06 KB, created by
sjr
on 2002-01-04 18:10:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
sjr
Created:
2002-01-04 18:10:01 UTC
Size:
1.06 KB
patch
obsolete
>--- etc/rc.firewall.orig Thu Jan 3 23:23:55 2002 >+++ etc/rc.firewall Thu Jan 3 23:31:56 2002 >@@ -147,9 +147,9 @@ > ############ > > # set these to your network and netmask and ip >- net="192.0.2.0" >- mask="255.255.255.0" >- ip="192.0.2.1" >+ net=${firewall_client_net} >+ mask=${firewall_client_mask} >+ ip=${firewall_client_ip} > > # Allow any traffic to or from my own net. > ${fwcmd} add pass all from ${ip} to ${net}:${mask} >@@ -189,16 +189,16 @@ > ############ > > # set these to your outside interface network and netmask and ip >- oif="ed0" >- onet="192.0.2.0" >- omask="255.255.255.240" >- oip="192.0.2.1" >+ oif=${firewall_simple_oif} >+ onet=${firewall_simple_onet} >+ omask=${firewall_simple_omask} >+ oip=${firewall_simple_oip} > > # set these to your inside interface network and netmask and ip >- iif="ed1" >- inet="192.0.2.16" >- imask="255.255.255.240" >- iip="192.0.2.17" >+ iif=${firewall_simple_iif} >+ inet=${firewall_simple_inet} >+ imask=${firewall_simple_imask} >+ iip=${firewall_simple_iip} > > # Stop spoofing > ${fwcmd} add deny all from ${inet}:${imask} to any in 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 33545
:
18733
| 18734 |
18735