Skip to content

Instantly share code, notes, and snippets.

@soderlind
Last active September 7, 2024 05:45
Show Gist options
  • Save soderlind/6a440cd3c8e017444097cf2c89cc301d to your computer and use it in GitHub Desktop.
Save soderlind/6a440cd3c8e017444097cf2c89cc301d to your computer and use it in GitHub Desktop.

Revisions

  1. soderlind revised this gist Apr 9, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Install.txt
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@ proxy-dns-upstream:
    - https://1.1.1.1/dns-query
    - https://1.0.0.1/dns-query

    3) Activate cloudflared as a serive
    3) Activate cloudflared as a service

    sudo cloudflared service install

  2. soderlind revised this gist Apr 9, 2018. No changes.
  3. soderlind revised this gist Apr 9, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Install.txt
    Original file line number Diff line number Diff line change
    @@ -15,6 +15,6 @@ sudo cloudflared service install

    4) Test

    dig +short @127.0.0.1 github.no AA
    dig +short @127.0.0.1 github.com AA

    5) If OK, change DNS on your mac to 127.0.0.1 (System Preferences->Network->Advanced->DNS)
  4. soderlind created this gist Apr 9, 2018.
    20 changes: 20 additions & 0 deletions Install.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    1) Install cloudflared using homebrew:

    brew install cloudflare/cloudflare/cloudflared

    2) Create /usr/local/etc/cloudflared/config.yaml, with the following content

    proxy-dns: true
    proxy-dns-upstream:
    - https://1.1.1.1/dns-query
    - https://1.0.0.1/dns-query

    3) Activate cloudflared as a serive

    sudo cloudflared service install

    4) Test

    dig +short @127.0.0.1 github.no AA

    5) If OK, change DNS on your mac to 127.0.0.1 (System Preferences->Network->Advanced->DNS)