mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #432] Access list with more then 4 ip addresses? #365
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#365
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Magikarplvl4 on GitHub (May 28, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/432
Checklist
What is troubling you?
I'm busy with creating a Access List with a lot of ip address.
I was wondering if its possible to add more then 4 ip address?
i can't find a option todo this in the web viewer :(
Clear and concise description of what you're trying to do and what isn't working for you
@cmitz commented on GitHub (Jun 3, 2020):
Maybe this will help you: you can also specify an ip-range instead of a singular ip-address.
For example, using
192.168.1.1/24means all addresses between192.168.1.1and192.168.1.255. This is definitely not beginner-level network management, so you could use this tool for example: http://jodies.de/ipcalc?host=192.168.1.1&mask1=24&mask2= . Note thehostMinandhostMaxvalues, and ignore subnet for now.p.s. I've written this down in a way that everyone should be able to understand it. However, if you are offended that I've dumbed this down too much, then sorry ;-)
p.p.s The feature request of adding more than 4 addresses/ranges is still a valid request, so this issue should stay open :)
@Magikarplvl4 commented on GitHub (Jun 3, 2020):
Hi @cmitz first of all: Thanks for you reply and help!
Maybe someone can use this to:
I created a workaround, i include a secondary file that include some more ip rullings.
step 1: Create a subfolder called custom_whitelist in the appdata/NginxProxyManager folder.
step 2: create a empty file called: whitelist.conf
step 3: Open nginx proxy manger, and Edit Proxy Host. Choose advanced, and place the following text:
(in my case it is: include /config/custom_whitelist/whitelist.conf;)
step 4: Open the whitelist.conf file with notepad++ or something else and write down all the ip addresses you like that can enter the subdomain/domain of what ever in the following format:
@cmitz commented on GitHub (Jun 3, 2020):
That will definitely work as well. Be careful that it might not work well together with the access-list since the order of defined rules is very important to Nginx
btw @PotatoQuality could you wrap the code in your comment with backticks? (`)
That'd be easier to read
@Kenchava commented on GitHub (Jul 25, 2020):
Yes please!!!! I have a list of various public IPs (5-25) for various hosts and being able to define them directly into an access list instead of separate configs and including them manually would be legendary! Perhaps instead of the default interface with 4 options there is a new row of textboxes that appear or a plus button to add an additional row manually would be awesome.
@seanfromhm commented on GitHub (Aug 6, 2020):
I really support this, at the moment we are using the custom config but with access lists we could add and remove items on a global level rather than one by one.
@chaptergy commented on GitHub (May 11, 2021):
Any amount of IPs are now possible:
@Magikarplvl4 commented on GitHub (May 11, 2021):
@chaptergy <3
@Kenchava commented on GitHub (May 12, 2021):
I've been checking in on this every now and then and am so happy that this was added. Thank you so much.