Welcome! Log In Create A New Profile

Advanced

allow IPv6/Mask

Micha Glave
November 23, 2012 07:28AM
Hi

I wan't to allow just the local-IPv4-Subnet. Something like this:

listen *:80;
allow 192.168.42.0/24;
deny all;

After switching to IPv6-Dual-Layer I tried this ...

listen [::]:80;
allow ::ffff:192.168.42.0/120;
deny all;


It doesn't work as expected. No one can see the page.
The following works:

listen [::]:80;
allow ::ffff:c0a8:2a00/120;
deny all;

In my opinion there should be a warning at the second. But it fails
silently.

Should I post a bug-report for this?

Micha
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

allow IPv6/Mask

Micha Glave November 23, 2012 07:28AM

Re: allow IPv6/Mask

Micha Glave November 23, 2012 07:32AM

Re: allow IPv6/Mask

Igor Sysoev November 23, 2012 07:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 295
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready