<div dir="ltr">Hi,<div><br></div><div>We use proxy_bind to ensure traffic always goes out via the same address as the incoming request i.e the bound address where a server has many addresses. This is a hard restriction in our use case.</div>
<div><br></div><div>We are looking to add support for IPv6 backends, we would like to allocate a single IPv6 outgoing address per client although this is not a fixed restriction at this stage. IPv6 backends may be used in the same upstream block as IPv4 addresses (and we encourage this, as some network providers are prone to IPv6 related issues). </div>
<div><br></div><div>We need to be able to maintain our existing system of binding v4 addresses while allowing for additional support for ipv6 (it is not possible to use IPv6 at all while using a v4 bound address as it will fail with a binding error as expected).</div>
<div><br></div><div>For one we expect to see upstreams such as </div><div><br></div><div>upstream customer_1 {</div><div>server <span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.800000190734863px;line-height:19.200000762939453px">2001:...:7334</span></div>
<div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.800000190734863px;line-height:19.200000762939453px">[...]</span></div>server 123.1.2.3 backup;<div>}</div><div><br></div><div>become very common in the near future with the increased adoption of IPv6. We have already had several requests for such functionality in the past year.</div>
<div><br></div><div>Regards,</div><div>Mathew</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Nov 18, 2013 at 10:15 PM, Maxim Dounin <span dir="ltr"><<a href="mailto:mdounin@mdounin.ru" target="_blank">mdounin@mdounin.ru</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!<br>
<div><div class="h5"><br>
On Sat, Nov 16, 2013 at 11:04:20PM +1030, SplitIce wrote:<br>
<br>
> Looking at the documentation it seems there is no way to specify a proxy<br>
> bind address for both IPv4 and IPv6.<br>
><br>
> You can specify one or the other, but never both. This is a particular<br>
> issue when a configuration is setup to allow for a failure in IPv6 transit<br>
> / routing.<br>
><br>
> Is it possible to get a proxy_bind_v6 directive?<br>
<br>
</div></div>Could you please clarify the intended use case?<br>
<br>
The proxy_bind directive is expected to be used to force an IP<br>
address used to connect an upstream, originally - to make sure the<br>
outgoing address used is one allowed by upstream's security<br>
restrictions. Just using distinct proxy_bind directives for<br>
different upstreams is usually expected to be enough (if at all<br>
needed).<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Maxim Dounin<br>
<a href="http://nginx.org/en/donation.html" target="_blank">http://nginx.org/en/donation.html</a><br>
<br>
_______________________________________________<br>
nginx-devel mailing list<br>
<a href="mailto:nginx-devel@nginx.org">nginx-devel@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx-devel" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a><br>
</font></span></blockquote></div><br></div>