Hello, need help, how can I configure DDNS with private IP? To allow access with non-public ip to ddns. Before on the stock firmware I could configured ddns and it’s works with the private ip, now on openwrt I have following error:
165419 : Detect local IP on 'network'
165419 : Local IP '100.70.XXX.XXX' detected on network 'wan'
165419 : Update needed - L: '100.70.XXX.XXX' <> R: '185.105.XXX.XXX'
165419 ERROR : No or private or invalid IP '100.70.XXX.XXX' given! Please check your configuration
165419 ERROR : No update send to DDNS Provider
165419 : Waiting 600 seconds (Check Interval)
I mean that have you mentioned to add in host names, it works, but will it work after my router will restart later? My isp will give to my wan another private ip, is it possible just configured as it works on stock firmware?
No idea, since I don't know hoe it works on your stock fw.
Still can't see the use case, since the DDNS IP you're updating cannot be used from outside ( = the internet), unless you have two subscriptions with the same carrier, and are running traffic between those two.
It is used only inside my country to have access to my private ip, it needs for vpn server configured in my router to have access from another pc/phone e.g from work and etc, I can connect now to vpn on my router, but because of every restarts it changes my private ip, I have to configure my vpn server’s private ip manually to have access to my vpn
Just type it on the CLI.
Or manually add the appropriate entry to /etc/config/ddns, but the fact you had to ask means the CLI command is probably safer.