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
on 2012-11-23 13:26
on 2012-11-23 13:31
My fault both 2. and 3. doesn't work. How is the correct notation? Micha 2012/11/23 Micha Glave <nginx@migmedia.de>
on 2012-11-23 13:37
On Nov 23, 2012, at 16:30 , Micha Glave wrote: > My fault both 2. and 3. doesn't work. > > How is the correct notation? allow 192.168.42.0/24; nginx tests both IPv4 and IPv4 mapped to IPv6 addresses with this single rule. -- Igor Sysoev http://nginx.com/support.html
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.