Hurricane Electric's IPv6 Tunnel Broker Forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Author Topic: Automatic setup IPv6 tunnel for dynamic IP  (Read 5589 times)

Sus

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • dj-x.info
Automatic setup IPv6 tunnel for dynamic IP
« on: June 22, 2011, 06:01:54 AM »

Automatic setup IPv6 tunnel for dynamic IP4
PHP file needed to put on IP4 hosting.
Code: [Select]
<?php
// We'll be outputting a cmd
header('Content-type: application/cmd');
// It will be called tunnelbroker.cmd
header('Content-Disposition: attachment; filename="tunnelbroker.cmd"');
// The CMD source is in tunnelbroker.cmd
readfile('tunnelbroker.cmd');
// Automatic setup IPv6 tunnel for dynamic IP4
// Enter your information in the box below &pass=MD5XXX&apikey=XXX&tid=XXX 
echo '"C:\Program Files\Internet Explorer\iexplore.exe" "https://ipv4.tunnelbroker.net/ipv4_end.php?ip='$_SERVER["REMOTE_ADDR"] ,'&pass=&apikey=&tid="
'
;

echo 
'netsh interface ipv6 delete interface IP6Tunnel
'
;
echo 
'netsh interface ipv6 add v6v4tunnel IP6Tunnel '$_SERVER["REMOTE_ADDR"] ,' 216.66.84.46';
//216.66.84.46 - Select the IP that nearest to you.

?>


Help.
https://ipv4.tunnelbroker.net/ipv4_end.php
MD5 _http://lj.onas.ru/md5/

tunnelbroker.cmd run as Administrator .
It works in Windows 7 !
« Last Edit: June 22, 2011, 06:03:53 AM by Sus »
Logged