Skip to content

Installation on Arch Linux

nxnjz edited this page Jul 13, 2019 · 4 revisions

Installation on Arch Linux

pacman -S dnscrypt-proxy

There are two mutually exclusive ways to start dnscrypt-proxy: either with systemd socket activation, or the systemd service file.

Socket Activation

Note: Make sure to edit your /etc/dnscrypt-proxy/dnscrypt-proxy.toml accordingly (use an empty set for your listen_addresses, aka. listen_addresses = [ ]).

Activate & start the systemd socket (defaults to port 53 for ipv4), which will automatically start the service:

systemctl enable --now dnscrypt-proxy.socket

Service File

Note: Make sure to edit your /etc/dnscrypt-proxy/dnscrypt-proxy.toml accordingly (setup listen_addresses).

Enable & start the systemd service directly, without using socket activation:

systemctl enable --now dnscrypt-proxy.service

Further Reading

For more on the dnscrypt-proxy package, refer to its Arch Wiki page. Consider also the forums if you have questions.

Refer to the official systemd manual pages for more on how to work with services and sockets.

Clone this wiki locally