Topic: ddns script

Hi All

Can I use ddns script in double nat config
I mean WAN ip in router like 192.168.8.100
Gateway 192.168.8.1.
Last time the script doesn't work in barrier breakers

Thanks

Re: ddns script

Yes you can!

Your config from my understanding:
PublicIP - NAT1/Router - 192.168.8.x - NAT2/Router - LanIP
ddns-scripts are running on NAT2/Router

To detect you PublicIP you need to configure ddns-scripts:
option ip_source "web"
option ip_url "xxx" - where xxx is a url where you want to detect you PublicIP
Some urls you find at https://wiki.openwrt.org/doc/howto/ddns … g_local_ip

Re: ddns script

Oh !! I can
I checked the IP public was updated in dyndns service site big_smile

How ever I think It doesnt work for me also xD

config is

IP public 190.xxx.xxx.xxx
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
IP WAN modem/router 10.159.165.253
IP WAN router openwrt 192.168.8.100
IP LAN server raspberry 192.168.1.102

I am thinking now the IP public is like a IP proxy for many client of mobile company D: ... No ping, no nothing

Is there any tool to create a kind of virtual IP to connect directly to the server ???
Something similar to how teamviewer works with a third server ??
Or keep the router permanently connected to a server to receive connections from outside via a specific port ??

Thanks

Re: ddns script

jxtrem wrote:

Oh !! I can
I checked the IP public was updated in dyndns service site big_smile

How ever I think It doesnt work for me also xD

config is

IP public 190.xxx.xxx.xxx
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
IP WAN modem/router 10.159.165.253
IP WAN router openwrt 192.168.8.100
IP LAN server raspberry 192.168.1.102

I am thinking now the IP public is like a IP proxy for many client of mobile company D: ... No ping, no nothing

Is there any tool to create a kind of virtual IP to connect directly to the server ???
Something similar to how teamviewer works with a third server ??
Or keep the router permanently connected to a server to receive connections from outside via a specific port ??

Thanks

The 1.159.165.252 belongs to the normaly not routed private address space (see https://tools.ietf.org/html/rfc1918) that ISPs often use for "carrier-grade network address translation, or CG-NAT) in that case you will only get temporary mappings of ports to that address redirected to your router, AFAIK. You might run a tunnel say to a VPN service, and pay that VPN company to give you a more permanent IPv4 address. If you are lucky, maybe your ISP will give you either a routable IPv4 address if you ask nicely or a IPv6 address...

Best Regards

Re: ddns script

why the life is so complicated  u_u

Thanks