Cloudflare in openwrt bridging routing ddns-scripts automatically adds dns public network ip to solve public network dynamic problems...

Why use cloudflare, because there are unlimited mailboxes

Because it is a bridged network, instead of dialing directly from the wan port, the address obtained by the default configuration wan port is the intranet, and it will be directly wrong to view it from the log

If you click save and find that it is invalid, it is not invalid. In fact, there is an error message below that is not obvious. It prompts advanced settings - the source of the ip address cannot be determined, so the 公网ip cannot be saved.

image.png

The test of ddns is also very troublesome. Its minimum interval is 5 minutes. I located the configuration file of the router and located the source
code of several files.
I also found the official source code.

First, use cloudflare’s mailbox as the account, and the password is the one with the global key, not the key that can only be viewed once. I tested it many times before I found the problem. Then I am here as a bridge network, so I wrote a script with the
following touch xx.shnano xx.shchmod 777 xx.sh
content

Guess you like

Origin blog.csdn.net/u010042660/article/details/130600639