dnscrypt-proxy can't bind to port 53

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

dnscrypt-proxy can't bind to port 53

Postby nextAaron » Sun Apr 29, 2018 6:30 am

$this->bbcode_second_pass_quote('', '_') ~ systemctl status dnscrypt-proxy --full --no-pager
* dnscrypt-proxy.service - DNSCrypt-proxy client
Loaded: loaded (/usr/lib/systemd/system/dnscrypt-proxy.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2018-04-28 12:06:06 UTC; 4min 23s ago
Docs: https://github.com/jedisct1/dnscrypt-proxy/wiki
Process: 815 ExecStart=/usr/bin/dnscrypt-proxy --config /etc/dnscrypt-proxy/dnscrypt-proxy.toml (code=exited, status=255)
Main PID: 815 (code=exited, status=255)

Apr 28 12:06:05 alarm systemd[1]: Started DNSCrypt-proxy client.
Apr 28 12:06:06 alarm dnscrypt-proxy[815]: Source [/var/cache/dnscrypt-proxy/public-resolvers.md] loaded
Apr 28 12:06:06 alarm dnscrypt-proxy[815]: dnscrypt-proxy 2.0.11
Apr 28 12:06:06 alarm dnscrypt-proxy[815]: listen udp 127.0.0.1:53: bind: permission denied
Apr 28 12:06:06 alarm systemd[1]: dnscrypt-proxy.service: Main process exited, code=exited, status=255/n/a
Apr 28 12:06:06 alarm systemd[1]: dnscrypt-proxy.service: Failed with result 'exit-code'.

If I use port 5353, it works fine.
I understand this is because it is run with a non-root user.
I tried $this->bbcode_second_pass_code('', 'setcap cap_net_bind_service=+ep /usr/bin/dnscrypt-proxy') but it doesn't help.

How to fix this?
nextAaron
 
Posts: 1
Joined: Sun Apr 29, 2018 6:26 am

Return to ARMv8

Who is online

Users browsing this forum: No registered users and 8 guests