IPv6 range specification for allow/deny

Jens Rantil jens.rantil at telavox.se
Thu Aug 15 11:51:33 UTC 2013


Hi,

I'd like to limit a range of IPv6 space to a "server" context using "allow" and "deny". I haven't been able to find any information on how to do this in the documentation, nor on the web. The only example I've found[1] is for fixed IPv6 adresses like so:

allow   2620:100:e000::8001;

[1] http://wiki.nginx.org/HttpAccessModule

So far I have tried

allow   2d00:1201::/32
allow   [2d00:1201::]/32

but nginx configuration validation complains. Is this IPv6 ranges possible to allow/deny? What is the correct format? Any input would be appreciated.

Thanks,
Jens



More information about the nginx mailing list