News: This forum is now permanently frozen.
Pages: [1]
Topic: TunnelBroker.net IPv6 Dynamic Tunnels  (Read 2195 times)
« on: June 05, 2009, 23:14:22 »
nayr *
Posts: 9

Yea I am full of requests, unfortunately due to the nature of my employment I cannot contribute code to this project without approval and that is highly unlikely, even though I only use m0n0 personally.  Roll Eyes

Using IPv6 tunnels from Hurricane Electric you need to update your endpoint IP address when your WAN IP changes.

They have an API that allows you to update the endpoint IP here: http://ipv4.tunnelbroker.net/ipv4_end.php
Quote
Please use the format https://ipv4.tunnelbroker.net/ipv4_end.php?ipv4b=&pass=&user_id=&tunnel_id=
Where:

= The new IPv4 Endpoint (AUTO to use the requesting client's IP address)
= The MD5 Hash of your password
= The UserID from the main page of the tunnelbroker (not your username)
= The Global Tunnel ID from the tunnel_details page

It would be quite easy and nice to have an option in the Dynamic IP section that simply fetched that URL with some values saved in the config when the WAN interface changed.

A more robust implementation might be to set the WAN IP as an environment variable and give a text input box that allows some custom commands/scripts be executed when the IP changes.. this would allow m0n0 to work with tunnelbroker, freedns.afraid.org, and open other possibilities like sending a signal to a monitoring server to fire-off a notification email that the IP changed.

Cheers,
-R
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines