Hurricane Electric's IPv6 Tunnel Broker Forums
May 22, 2013, 02:50:21 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to Hurricane Electric's Tunnelbroker.net forums!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Automatic setup IPv6 tunnel for dynamic IP  (Read 2248 times)
Sus
Newbie
*
Posts: 4


View Profile WWW
« on: June 22, 2011, 06:01:54 am »

Automatic setup IPv6 tunnel for dynamic IP4
PHP file needed to put on IP4 hosting.
Code:
<?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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!