mirror of
https://github.com/acme-dns/acme-dns.git
synced 2026-04-27 12:55:48 +03:00
[GH-ISSUE #278] Allowing acme-dns API from limited set of IP addresses #140
Labels
No labels
Documentation
Documentation
bug
enhancement
feature request
feature request
help wanted
pull-request
question
security
security
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/acme-dns#140
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 @shalak on GitHub (Sep 18, 2021).
Original GitHub issue: https://github.com/acme-dns/acme-dns/issues/278
I'm trying to understand the
[api]>ipentry of the configuration file. As far as I understand, this is the only IP address from which I can reach the acme-dns API via the acme-dns-client - is this correct?My issue is that I'd like to set up a publicly exposed acme-dns server, which will also run the acme-dns-client locally:
So basically, for security reasons, I need to limit acme-dns API to allow only those static IPs and the localhost. How can I do it?
Bonus question: I'd like the point no. 1 to be using different domains per each of the hosts, but on point no. 2 - the wildcard. Is this possible (I do not fully understand the issue of limir of 2 TXT records in acme-dns)
@shalak commented on GitHub (Sep 19, 2021):
Argh... Now I started to realise, that the
[api] > ipentry is just a bind for an interface over which the API is exposed. Is my understanding correct?@joohoi commented on GitHub (Jan 25, 2022):
Yes, your understanding is correct. This way you can bind the API to an internal network IP address, there's no requirement for the HTTP api to be accesible from external network.
That said, acme-dns doesn't offer an built-in way to restrict the access to specific source addresses, but this is where your OS firewall configuration comes to help.
Closing this issue now as I feel it has been properly resolved, feel free to comment if there's something else, and we can reopen if needed.