Skip to content
This repository was archived by the owner on Nov 18, 2020. It is now read-only.
/ ubnt-cloudflared Public archive

Install Cloudflare's DNS proxy on UBNT gateways

License

Notifications You must be signed in to change notification settings

Twanislas/ubnt-cloudflared

Repository files navigation

ubnt-cloudflared

Install Cloudflare's DNS proxy on UniFi® gateways. This setup will survive reboots and re-provisions.

Only working for IPv4 at the moment.

Increase privacy on your network and prevent your ISP to eavesdrop your DNS requests to build your internet browsing history !

Hardware

Tested

  • UniFi Security Gateway 3P

Should work on (but not tested)

  • All EdgeRouter models
  • All UniFi Security Gateway models

Guide

Installing

In a ssh session run the following command :

bash <(curl -s https://raw.githubusercontent.com/Twanislas/ubnt-cloudflared/master/install.sh)

Updating

Just run the install script again ;)

Uninstall

In a ssh session run the following command :

bash <(curl -s https://raw.githubusercontent.com/Twanislas/ubnt-cloudflared/master/uninstall.sh)

Redirecting NAT DNS requests

See the example in nat-dns-redirect.sh. You will have to adapt to your configuration and networks and place this script in /config/scripts/post-config.d/ on the gateway so it will be run on every provision.

Contributing

  • Please fork and submit PR's if you have any improvements.
    • Implementing IPv6 features would help greatly
  • Feel free to submit issues !
  • Testing this on hardware I did not test yet would be wonderful !

Credits

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy