Hello!

It has become very interesting to automate the configuration of ipv6 through a tunnel broker on Mac OS X 10.8.4
Maybe I went the hard way, but to configure it, you need to do the following

sudo ifconfig gif0 createsudo ifconfig gif0 tunnel YOU_IP_V4 216.66.84.46sudo ifconfig gif0 inet6 2001:470:1f14:32a::2 2001:470:1f14:32a::1 prefixlen 128sudo route -n add -inet6 default 2001:470:1f14:32a::1 

I would like to write a script to create this, I never wrote scripts. I tried to solve the problem by googling, but the maximum I could: open the URL in the browser and get the IP :)

Help who than can.

  • YOU_IP_V4 what is it? Do you have a dynamic IP or are you behind NAT? - zb '
  • I have a white IP, here I mean the IP of the machine on which to execute it - andreich

1 answer 1

read here http://tech.inhelsinki.nl/locationchanger/

in ~ / bin / locationchanger

write:

 #!/bin/shipv4b=YOUR_IPipv4a=216.66.84.46ipv6b=2001:470:1f14:32a::2 ipv6a=2001:470:1f14:32a::1ifconfig gif0 tunnel $ipv4b $ipv4aifconfig gif0 inet6 $ipv6b $ipv6a prefixlen /128route -n add -inet6 default $ipv6a 

I'm not sure about create, I read it in your dock provider dock: http://www.tunnelbroker.net/forums/index.php?topic=19.0