[GH-ISSUE #857] support open non standar, low ranges, like 53tcp/udp... #725

Closed
opened 2026-02-26 06:34:09 +03:00 by kerem · 2 comments
Owner

Originally created by @doreks on GitHub (Feb 2, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/857

Does anyone know why it is not possible to use the low range ports like 53 or 22...?

Originally created by @doreks on GitHub (Feb 2, 2021). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/857 Does anyone know why it is not possible to use the low range ports like 53 or 22...?
kerem 2026-02-26 06:34:09 +03:00
Author
Owner

@doreks commented on GitHub (Feb 3, 2021):

hi!

I am getting the following error in the log:
nginx: [emerg] bind() to 0.0.0.0.0:53 failed (13: Permission denied)

it seems to be caused because these ports belong to the protected port range, but how to do then to be able to have a dns proxy, as indicated here;
https://www.nginx.com/blog/load-balancing-dns-traffic-nginx-plus/

<!-- gh-comment-id:772386517 --> @doreks commented on GitHub (Feb 3, 2021): hi! I am getting the following error in the log: `nginx: [emerg] bind() to 0.0.0.0.0:53 failed (13: Permission denied)` it seems to be caused because these ports belong to the protected port range, but how to do then to be able to have a dns proxy, as indicated here; https://www.nginx.com/blog/load-balancing-dns-traffic-nginx-plus/
Author
Owner

@chaptergy commented on GitHub (May 12, 2021):

Since NPM runs in a docker container you can use any port internally. Just map outside port 53 to inside port e.g. 5353, then you can use 5353 in NPM.

image

<!-- gh-comment-id:840148733 --> @chaptergy commented on GitHub (May 12, 2021): Since NPM runs in a docker container you can use any port internally. Just map outside port `53` to inside port e.g. `5353`, then you can use `5353` in NPM. ![image](https://user-images.githubusercontent.com/26956711/118054770-64960c00-b376-11eb-8248-8f73d68ea984.png)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#725
No description provided.