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

Collapse All | Expand All

(-)etc/rc.firewall6 (-11 / +11 lines)
Lines 110-118 Link Here
110
	#
110
	#
111
	# This needs more work
111
	# This needs more work
112
	#
112
	#
113
	net="3ffe:505:2:1::"
113
	net=${ipv6_firewall_client_net}
114
	prefixlen="64"
114
	prefixlen=${ipv6_firewall_client_prefixlen}
115
	ip="3ffe:505:2:1::1"
115
	ip=${ipv6_firewall_client_ip}
116
116
117
	# Allow any traffic to or from my own net.
117
	# Allow any traffic to or from my own net.
118
	${fw6cmd} add pass all from ${ip} to ${net}/${prefixlen}
118
	${fw6cmd} add pass all from ${ip} to ${net}/${prefixlen}
Lines 164-179 Link Here
164
	############
164
	############
165
165
166
	# set these to your outside interface network and prefixlen and ip
166
	# set these to your outside interface network and prefixlen and ip
167
	oif="ed0"
167
	oif=${ipv6_firewall_simple_oif}
168
	onet="3ffe:505:2:1::"
168
	onet=${ipv6_firewall_simple_onet}
169
	oprefixlen="64"
169
	oprefixlen=${ipv6_firewall_simple_oprefixlen}
170
	oip="3ffe:505:2:1::1"
170
	oip=${ipv6_firewall_simple_oip}
171
171
172
	# set these to your inside interface network and prefixlen and ip
172
	# set these to your inside interface network and prefixlen and ip
173
	iif="ed1"
173
	iif=${ipv6_firewall_simple_iif}
174
	inet="3ffe:505:2:2::"
174
	inet=${ipv6_firewall_simple_inet}
175
	iprefixlen="64"
175
	iprefixlen=${ipv6_firewall_simple_iprefixlen}
176
	iip="3ffe:505:2:2::1"
176
	iip=${ipv6_firewall_simple_iip}
177
177
178
	# Stop spoofing
178
	# Stop spoofing
179
	${fw6cmd} add deny all from ${inet}/${iprefixlen} to any in via ${oif}
179
	${fw6cmd} add deny all from ${inet}/${iprefixlen} to any in via ${oif}

Return to bug 33545