I am trying to set up a DDNS service on my router TP-link C7 v5 running on OpenWrt and found this forum post:
There, OP wants to put his OpenWrt behind another router. So the trick he needed was to:
option ip_source "web" option ip_url "https://ipv4.wtfismyip.com/text"
- but to strike out (as unnecessary and potentially interfering)
option ip_source "network" option ip_network "wan"
My questions are:
option ip_urlwould work if the router were directly facing the Internet? (I don't see why not as the source is fully spelled out.)
Those options would work if two or more NATs intervened between Internet and router?
I could use
https://ipecho.net/plaininstead of the
wtfismyip.comsource? (That is to say,
wtfismyip.comis not some chosen vendor to OpenWrt.)
Is there a way to put both sources in, just in case one of them goes bust?
What would be consequence of multiple DDNS entries (scripts), all using the same DDNS subdomain, but one using
option ip_source "network"and
option ip_network "wan", a second using
https://ipecho.net/plain, and a third using
wtfismyip.com. (The idea is to provide for all contingencies. If the router were facing the Internet and both the named sources are out of service, at least it could use the general network/wan path. Of course the danger would be to confuse the machine!)
Question 2 is mere curiosity as I don't plan to put this router behind multiple NATs. Thanks.