Skip to content

Instantly share code, notes, and snippets.

View shrmnk's full-sized avatar
🏕️
working from home

Sherman K shrmnk

🏕️
working from home
View GitHub Profile
@shrmnk
shrmnk / README.md
Created July 6, 2023 17:55
Setting up Cloudflared DoH client on Ubuntu Server with resolved
  1. Install cloudflared
  2. Create /etc/systemd.system/cloudflared-proxy-dns.service with contents:
[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