• 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


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




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


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


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.


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.