Hurricane Electric's IPv6 Tunnel Broker Forums

Tunnelbroker.net Specific Topics => Questions & Answers => Topic started by: sonbolHol on February 18, 2017, 07:44:10 AM

Title: how to update the dynamic ipv4 auto to keep the tunnel works
Post by: sonbolHol on February 18, 2017, 07:44:10 AM
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
Title: Re: how to update the dynamic ipv4 auto to keep the tunnel works
Post by: divad27182 on February 19, 2017, 05:24:11 PM
I think you want "Dyn-compliant Endpoint Updates" at https://forums.he.net/index.php?topic=1994.0 (https://forums.he.net/index.php?topic=1994.0)

--David
Title: Re: how to update the dynamic ipv4 auto to keep the tunnel works
Post by: sonbolHol on February 20, 2017, 11:27:27 AM
thanks
but am i supposed to do it in the URL of the navigator with update some fields 'the html balise '
Title: Re: how to update the dynamic ipv4 auto to keep the tunnel works
Post by: divad27182 on February 20, 2017, 03:46:57 PM
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.
Title: Re: how to update the dynamic ipv4 auto to keep the tunnel works
Post by: kcochran on February 21, 2017, 04:34:41 PM
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.