View | Details | Raw Unified | Return to bug 33545 | Differences between
and this patch

Collapse All | Expand All

(-)etc/rc.firewall (-11 / +11 lines)
Lines 147-155 Link Here
147
	############
147
	############
148
148
149
	# set these to your network and netmask and ip
149
	# set these to your network and netmask and ip
150
	net="192.0.2.0"
150
	net=${firewall_client_net}
151
	mask="255.255.255.0"
151
	mask=${firewall_client_mask}
152
	ip="192.0.2.1"
152
	ip=${firewall_client_ip}
153
153
154
	# Allow any traffic to or from my own net.
154
	# Allow any traffic to or from my own net.
155
	${fwcmd} add pass all from ${ip} to ${net}:${mask}
155
	${fwcmd} add pass all from ${ip} to ${net}:${mask}
Lines 189-204 Link Here
189
	############
189
	############
190
190
191
	# set these to your outside interface network and netmask and ip
191
	# set these to your outside interface network and netmask and ip
192
	oif="ed0"
192
	oif=${firewall_simple_oif}
193
	onet="192.0.2.0"
193
	onet=${firewall_simple_onet}
194
	omask="255.255.255.240"
194
	omask=${firewall_simple_omask}
195
	oip="192.0.2.1"
195
	oip=${firewall_simple_oip}
196
196
197
	# set these to your inside interface network and netmask and ip
197
	# set these to your inside interface network and netmask and ip
198
	iif="ed1"
198
	iif=${firewall_simple_iif}
199
	inet="192.0.2.16"
199
	inet=${firewall_simple_inet}
200
	imask="255.255.255.240"
200
	imask=${firewall_simple_imask}
201
	iip="192.0.2.17"
201
	iip=${firewall_simple_iip}
202
202
203
	# Stop spoofing
203
	# Stop spoofing
204
	${fwcmd} add deny all from ${inet}:${imask} to any in via ${oif}
204
	${fwcmd} add deny all from ${inet}:${imask} to any in via ${oif}

Return to bug 33545