Last active
January 11, 2023 15:58
-
-
Save sirkirby/9c5b589104f30b980a113c4f62c54de2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo nano /etc/systemd/system/cloudflared-proxy-dns.service | |
[Unit] | |
Description=DNS over HTTPS (DoH) proxy client | |
Wants=network-online.target nss-lookup.target | |
Before=nss-lookup.target | |
[Service] | |
AmbientCapabilities=CAP_NET_BIND_SERVICE | |
CapabilityBoundingSet=CAP_NET_BIND_SERVICE | |
DynamicUser=yes | |
ExecStart=/usr/local/bin/cloudflared proxy-dns --port 5053 | |
[Install] | |
WantedBy=multi-user.target | |
sudo systemctl enable --now cloudflared-proxy-dns |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment