notebook:cloudflare_ddns_configuration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
notebook:cloudflare_ddns_configuration [2018/05/16 02:21]
fester
notebook:cloudflare_ddns_configuration [2018/05/21 14:15]
macgeek312
Line 5: Line 5:
 The only catch [for now], is you have to use config.gateway.json (this file is on/needs to be created on the controller in the applicable site) to accomplish this (as of Controller 5.9.4). The only catch [for now], is you have to use config.gateway.json (this file is on/needs to be created on the controller in the applicable site) to accomplish this (as of Controller 5.9.4).
  
-__**User Tips:**__  +**If you need further information please see [[https://help.ubnt.com/hc/en-us/articles/215458888-UniFi-Advanced-USG-Configuration|UniFi Advanced USG Configuration]] for help about where to create the config.gateway.json.**
-  * __On a Cloud Key install:__ The path for the .json file is: /srv/unifi/data/sites/[site name/default]+
-  * __On an Ubuntu install:__ The path for the .json file is: /usr/lib/unifi/data/sites/[site name/default]/ +
- +
-to edit the file, navigate to the directory and use **vi** editor, e.g. +
-<code> +
-cd /srv/unifi/data/sites/default/ +
-vi config.gateway.json +
-</code>+
 \\ \\
 -------------------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------------------
Line 20: Line 12:
   * Prior to creating the .json file on your gateway, create the file in a text editor, such as Atom or Notepad++, and then validate your file at a JSON validator site such as https://jsonlint.com/.   * Prior to creating the .json file on your gateway, create the file in a text editor, such as Atom or Notepad++, and then validate your file at a JSON validator site such as https://jsonlint.com/.
   * If the syntax fails verification, and you provision it on your gateway, it could cause reboot issues.   * If the syntax fails verification, and you provision it on your gateway, it could cause reboot issues.
-  * If your unsure, reach out to the **Ubiquiti Discord Chat** or the **UBNT Community Forums** **prior** to saving/provisioning for support.+  * If your unsure, reach out to the **[[https://discord.me/ubnt|Ubiquiti Discord Chat]]** or the **[[https://community.ubnt.com/t5/custom/page/page-id/Forums|UBNT Community Forums]]** **prior** to saving/provisioning for support.
  
 -------------------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------------------
 \\ \\
 Below is an example of the **config.gateway.json** needed to make this work: Below is an example of the **config.gateway.json** needed to make this work:
 +<bootnote>Do not include the < > when adding the data, only add the information between the " " (quotes).</bootnote>
 <code> <code>
 { {
Line 53: Line 46:
 } }
 </code> </code>
-__**NOTE:**__ +<bootnote>To obtain your **Cloudflare Global API Key**, visit the https://www.cloudflare.com/ site, log in, and click **Get your API key** from the Overview Tab.</bootnote>
-  * Do not include the < > when adding the data, only add the information between the " " (quotes). +
-  * To obtain your **Cloudflare Global API Key**, visit the https://www.cloudflare.com/ site, log in, and click **Get your API key** from the Overview Tab.+
  • notebook/cloudflare_ddns_configuration.txt
  • Last modified: 2019/01/26 17:50
  • by jsimo