Hurricane Electric's IPv6 Tunnel Broker Forums

Advanced search  

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Author Topic: how to auto update tunnel  (Read 910 times)

sonbolHol

  • Newbie
  • *
  • Posts: 15
    • View Profile
how to auto update tunnel
« on: April 03, 2017, 03:33:42 PM »

hi every body

i ask you many times to help me how to auto update the ipv4 client

because mine is dynamic (it's changing every time i restart pc or connection )

i ask any one of you who kan help me to update the tunnel without visit every time the tunnelbroker.net

thanks a lot
Logged

snarked

  • Hero Member
  • *****
  • Posts: 704
    • View Profile
Re: how to auto update tunnel
« Reply #1 on: April 04, 2017, 12:20:54 AM »

HE has a web page script for that.....

https://ipv4.tunnelbroker.net/nic/update?hostname=_TUNNEL_NUMBER_
It will then ask for your ID and PW.  Upon success, it will display the IPv4 address and either "good" or "nochg".
Although the URL could have your ID and PW in it, I chose not to.

Search for "/nic/update?hostname=" and you will find 6 results for 5 other threads on this topic.

If you bookmark it, and then click on it via your web browser (or if using any Unix based OS, use wget with the URL in your boot script), then you will update.  The wget method will need the ID/PW in the URL.
Logged

sonbolHol

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: how to auto update tunnel
« Reply #2 on: April 10, 2017, 02:23:04 AM »

thanks for your reply

when they ask me to enter the username and PASSWD they reask me again and again
Q: may i use the username or userID
and for the PASSWD may i use the PASSWD or the UPDATEKEY

because i try it but it's not working

please help me
Logged

snarked

  • Hero Member
  • *****
  • Posts: 704
    • View Profile
Re: how to auto update tunnel
« Reply #3 on: April 10, 2017, 01:28:38 PM »

You should be using the same ID/PW combination as when you log into this forum.
Logged

SheamusPatt

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: how to auto update tunnel
« Reply #4 on: October 08, 2017, 10:21:32 AM »

A belated reply, sorry, but I've also seen the continued reprompting for password.
There's a simple way to avoid it, which is to use the username / password parameters. Eg. instead of
https://someuser:theirpassword@ipv4.tunnelbroker.net/nic/update?hostname=99999
use
https://ipv4.tunnelbroker.net/nic/update?username=someuser&passwordtheirpassword&hostname=99999

Also, the password should be the Update Key from the Advanced page for your tunnel, not your login password. I've tried both; it seems if the Update Key is provided, that's what you must use. Actually, the reprompting might just be due to the wrong password being used, but in any case providing it via parameters will avoid the reprompting.

Hope this helps
Logged