Skip to content

IP-Access List Not Working With 10.0.0.1/24 #763

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
varunsridharan opened this issue Dec 7, 2020 · 1 comment
Closed
3 tasks done

IP-Access List Not Working With 10.0.0.1/24 #763

varunsridharan opened this issue Dec 7, 2020 · 1 comment
Labels

Comments

@varunsridharan
Copy link

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
  • Are you sure you're not using someone else's docker image?
  • If having problems with Lets Encrypt, have you made absolutely sure your site is accessible from outside of your network?

Describe the bug
I am trying to use 10.0.0.1/24 in IP Access List because my local network is configured with that IP and I want to allow some proxy sites only from my local network

But nginx throwing some error

2020/12/07 12:51:21 [warn] 193#193: low address bits of 10.0.0.1/24 are meaningless in /data/nginx/proxy_host/4.conf:47

To Reproduce

  1. Create an Access List With the IP 10.0.0.1/24

Expected behavior
IP Allow list should work

Screenshots
Access List Base

IP List

Operating System
Ubuntu

@mbenkler
Copy link

mbenkler commented Dec 26, 2020

your subnet is 10.0.0.0/24 and not 10.0.0.1/24 if yout configure your subnet right in the access list it will work.

There's no such network as 10.0.0.1/24, because it doesn't start on a legitimate boundary between /24 network ranges. The last bit of the address is set, but is meaningless in this context. The correct address would be 10.0.0.0/24, which means the range from 10.0.0.0 to 10.0.0.255

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants