You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-12Lines changed: 18 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,6 @@
5
5
6
6
*[What this script does](#what-this-script-does)
7
7
*[Before you begin](#before-you-begin)
8
-
*[Example](#example)
9
8
*[How to install](#how-to-install)
10
9
*[Troubleshooting and known issues](#troubleshooting-and-known-issues)
11
10
+[Connection test failed or error returned](#connection-test-failed-or-error-returned)
@@ -31,19 +30,26 @@ Before starting the installation process, make sure you have (and know) the foll
31
30
b. Have your [Global API key](https://dash.cloudflare.com/profile/api-tokens) (More info: [Global API keys](https://support.cloudflare.com/hc/en-us/articles/200167836-Managing-API-Tokens-and-Keys)).
32
31
33
32
2.*DNS settings:*
34
-
Ensure the DNS A record(s) for the domain/zone(s) you wish to update with this script have been created (More information: [Managing DNS records](https://support.cloudflare.com/hc/en-us/articles/360019093151-Managing-DNS-records-in-Cloudflare))
33
+
34
+
Ensure the DNS A record(s) for the domain/zone(s) you wish to update with this script have been created (More information: [Managing DNS records](https://support.cloudflare.com/hc/en-us/articles/360019093151-Managing-DNS-records-in-Cloudflare)).
35
35
36
-
## Example
36
+
Your DNS records should appear (or already be setup as follows) in Cloudflare:
37
+
38
+
(Note: Having Proxied turned on for your A records isn't necessary, but it will prevent those snooping around from easily finding out your current IP address)
37
39
38
-

40
+

39
41
40
42
## How to install
41
43
42
44
1.**Activate SSH on your supported device:**
43
45
44
-
a. For DSM Users: Navigate to __Control Panel > Terminal & SNMP > Enable SSH service__
b. For SRM users: Navigate to __Control Panel > Services > System Services > Terminal > Enable SSH service__
52
+
Navigate to __Control Panel > Services > System Services > Terminal > Enable SSH service__
47
53
48
54

49
55
@@ -70,7 +76,7 @@ Before starting the installation process, make sure you have (and know) the foll
70
76
queryurl=https://www.cloudflare.com/
71
77
```
72
78
73
-
Note: For SRM users, break out this [Vim cheat sheet](https://coderwall.com/p/adv71w/basic-vim-commands-for-getting-started), as it's the only text editor available to you.
79
+
**Note:** For SRM users, break out this [Vim cheat sheet](https://coderwall.com/p/adv71w/basic-vim-commands-for-getting-started), as it's the only text editor available to you.
74
80
75
81
4.**Update your DDNS settings:**
76
82
@@ -98,19 +104,19 @@ For multiple domains: __subdomain.mydomain.com---vpn.mydomain.com__
98
104
99
105
### Connection test failed or error returned
100
106
101
-
This will manifest as either 1020 error; or the update attempt not showing in Cloudflare Audit logs.
107
+
This will manifest as either 1020 error; or the update attempt not showing in your Cloudflare Audit logs.
102
108
103
-
That generally means you've not entered something correctly in the DDNS screen for your domain.
109
+
That generally means you may not have entered something correctly in the DDNS screen for your domain(s).
104
110
105
-
Revisit Step 4 in How to install, and make sure everything is correctly entered.
111
+
Revisit [Before you begin](#before-you-begin) to ensure you have all the right information, then go back to Step 4 in [How to install](#how-to-install) to make sure everything is correctly entered.
106
112
107
-
And you can also check your Cloudflare Audit logs to see what - if anything - has made it there with your API key (More information: [Understanding Cloudflare Audit Logs](https://support.cloudflare.com/hc/en-us/articles/115002833612-Understanding-Cloudflare-Audit-Logs). Updates using the API will appear in the Audit logs as a Rec Set action.
113
+
**Handy hint:** You can also check your Cloudflare Audit logs to see what - if anything - has made it there with your API key (More information: [Understanding Cloudflare Audit Logs](https://support.cloudflare.com/hc/en-us/articles/115002833612-Understanding-Cloudflare-Audit-Logs)). Updates using the API will appear in the Audit logs as a Rec Set action.
108
114
109
115
### Cloudflare no longer listed as a DDNS provider after a DSM update
110
116
111
117
After updates to Synology DSM, you may find the file __/usr/syno/bin/ddns/cloudflare.php__ has been deleted, and __/etc.defaults/ddns_provider.conf__ reset to default settings.
112
118
113
-
If this occurs, simply repeat the How to install steps above.
119
+
If this occurs, simply [repeat the How to install steps](#how-to-install) shown above.
114
120
115
121
## Default Cloudflare ports
116
122
Source [Identifying network ports compatible with Cloudflare's proxy](https://support.cloudflare.com/hc/en-us/articles/200169156-Identifying-network-ports-compatible-with-Cloudflare-s-proxy)
0 commit comments