Giter VIP home page Giter VIP logo

Comments (1)

stecklars avatar stecklars commented on June 23, 2024 1

Dear @martux69,

Due to the nature of IPv6, every device in your home network usually has its own public IPv6 address (that might be firewalled by your router, but in theory, it is publicly accessible). For this reason, if you want to use the IPv6 address, I recommend you to run the script directly on the device you want to access. Then it should actually be the IP address that you need in order to access the device in question, so exactly what you want. The reason why with IPv4 you always get the router IP address is the usage of NAT. That is why you have to configure port forwarding and so on on your router for IPv4 (so that it knows to which device the request should be forwarded).

Theoretically, with IPv6 it is also possible to find out the public address on the device itself (but the most reliable way for all operating systems and without having to use some kind of tool and parse its output is probably still calling an external service, which is why I am doing it that way).

The URL you mentioned is currently working for me. Maybe it was a temporary outage? The script actually accesses another service (https://v6.ident.me/) in case it does not get a (valid) IP address by one of the services. So this should not affect the usage of the script, as long as the other service is still working.

Kind regards
Lars

from dynamic-dns-netcup-api.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.