mirror of
https://github.com/pothi/mikrotik-scripts.git
synced 2025-06-26 16:08:36 +02:00
Add script to enable Cloudflare DoH
This commit is contained in:
parent
af2970c45b
commit
a46efa6290
1 changed files with 11 additions and 0 deletions
11
doh-scripts/cloudflare.rsc
Normal file
11
doh-scripts/cloudflare.rsc
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Verify the connection at https://1.1.1.1/help
|
||||
|
||||
/tool fetch url=https://curl.se/ca/cacert.pem
|
||||
/certificate remove [find name~"cacert.pem"]
|
||||
/certificate import file-name=cacert.pem passphrase=""
|
||||
|
||||
/ip dns set use-doh-server=https://1.1.1.1/dns-query verify-doh-cert=yes
|
||||
|
||||
# optional steps
|
||||
/ip dns set servers=""
|
||||
/ip dhcp-client set use-peer-dns=no [find]
|
Loading…
Add table
Add a link
Reference in a new issue