• Welcome to Hurricane Electric's IPv6 Tunnel Broker Forums.

how to update the dynamic ipv4 auto to keep the tunnel works

Started by sonbolHol, February 18, 2017, 07:44:10 AM

Previous topic - Next topic

sonbolHol

hi
i need the script to modify the ipv4 automatically  even it's dynamic
i tired to modify every time from the https://tunnelbroker.net/
i use ububntu 14.04
so i hope someone help me

thanks

divad27182


sonbolHol

thanks
but am i supposed to do it in the URL of the navigator with update some fields 'the html balise '

divad27182

Well, in my case, the command I use reads something like:

wget --auth-no-challenge -q -O- --http-user=my_username --http-passwd=my_password 'https://ipv4.tunnelbroker.net/nic/update?hostname=123456'

It turns out this is safe to run at any time.  It just tells you that there is no change ("nochg").  On the other hand, you should not run it too frequently

--D

Edit: If you just go the advanced tab on the tunnel details page, it will provide a URL to use.

Edit2: I think the other part of the equation (at least for me) is to omit the specifying the local IP address in the configuration.  Linux will use your local address as needed.

kcochran

The best place to run something like this is via whatever scripts may also run when your IPv4 address changes.  If you run the query too frequently, you may get blocked for abuse.