Setting up Teredo for MacOS X. IPv6

What is Teredo? Miredo settings for surfing the Internet using the IPv6 network protocol

Teredo is a network protocol designed to transmit IPv6 packets over IPv4 networks, in particular through devices using NAT technology, by encapsulating them in UDP datagrams – in particular, through devices using NAT. (many users do not have not only a static, but also a generally white IP address, constantly working through NAT.)
The technology was developed by Microsoft and is very easy to configure, not only for Windows, but also for nix systems.

There is no need for any registration: everything works, as they say, “out of the box.” All clients connected to the Network in the same way connect to each other directly (Teredo only helps to bypass NAT restrictions). In this case, there is practically no loss in speed. The same cannot be said about traffic routing between Teredo and native IPv6: for example, data can easily go through gateways located in the USA (the default gateway can be changed; in Russia it is most effective to use teredo.remlab.net). This is not the only negative. Teredo is issued only one address. You will even have to forget about a permanent address: Teredo addresses are generated each time based on the current IP address and the UDP port used, i.e. they are dynamic. But the worst thing is that not every NAT can be bypassed by Teredo.

If your ISP provides Internet access only through its IPv4 NAT, you can get IPv6 using Teredo technology, which was developed specifically to work in such conditions.

Advantages:
No account registration required, very easy to install;
Communication between two Teredo users does not occur through a tunnel server, but directly, with zero additional latency;
“Breaks through” many types of NAT.

Disadvantages:
You are given only one IPv6 address; it is impossible to obtain several Teredo addresses on your router and “distribute” them to the local network;
Routing between Teredo and native IPv6 (as well as other types of tunnels) can occur through gateways located in the most unexpected places (for example, in the USA, at Microsoft);
Teredo addresses are generated from IPv4 addresses (your address and the gateway address), as well as the UDP port used when connecting, so they are always dynamic.

In modern distributions, it is possible to get an automatically configured IPv6 tunnel; you just need to install a program called Miredo.

1. You can download the utility from this link:
http://www.deepdarc.com/miredo-osx/ Alternative Dropbox link http://db.tt/1Lw3hmVl 
2. Installation: Run the installer and follow the instructions. 
3. Additionally: Install MacOS X TUN/TAP Driver You can download it from the same link as the program itself. Alternative Dropbox link http://db.tt/Npq5gRHJ

Miredo is installed in the system settings (the system settings will be restarted to launch the program): And the utility window looks like this (it is possible to disable the program, just uncheck the “Teredo Tunnel” box): There is no need to change the settings, everything should work with the default settings . It is possible to change the server to one of the following if the default one is overloaded (in your opinion): • teredo.remlab.net / teredo-debian.remlab.net (France) • teredo.autotrans.consulintel.com (Spain) • teredo.ipv6 .microsoft.com (USA, Redmond) (default for windows) • teredo.ngix.ne.kr (South Korea) • teredo.managemydedi.com (USA, Chicago) • teredo.trex.fi (Finland) You can check the operation of Miredo via the following links: http://ipv6.tunnelbroker.net http://ipv6.google.com http://ipv6.l.google.com Or here: http://test-ipv6.com * IPv6 (eng. Internet Protocol version 6) is a version of the IP protocol designed to solve the problems encountered by the previous version (IPv4) when used on the Internet, by using an address length of 128 bits instead of 32. Discussion of IPv6 for file sharing * At the time of creation of the instructions, the utility works in OS X 10.8.2 (all settings were checked on this version of OS X) ADDITIONALLY: For the updated instructions, Thanks to pwrmc

For Mac OS 10.11, do this:

Run in Terminal app:
ruby ​​-e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/ install/master/install )” < /dev/null 2> /dev/null
and press enter/return key. Wait for the command to finish.
Run:
brew install miredo
Done! You can now use miredo.(taken from http://macappstore.org/miredo/ )

During the installation process on Mac OS X 10.11, additional package installations were required (brew install Caskroom/cask/tuntap) before installing miredo and then changing the configuration.
In the file /usr/local/etc/miredo/miredo.cond indicate the address of your interface, for example:
BindAddress 192.168.1.66
and also change the ServerAddress to a working one – in my case teredo.iks-jena.de

Leave a Reply

Your email address will not be published. Required fields are marked *