Differences between version 12 and revision by previous author of Teredo.
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 12 | Last edited on Tuesday, December 14, 2004 2:30:13 am | by AristotlePagaltzis | Revert |
Older page: | version 11 | Last edited on Monday, December 13, 2004 11:01:41 pm | by PerryLorier | Revert |
@@ -1,32 +1,40 @@
-[Teredo|http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/teredo.mspx] is a method of tunneling [IPv6] packets over [IPv4] in such a way that allows the packets to travel through
[NAT]. This can be used by peer to peer applications to allow two people behind seperate NAT's to talk to each other directly thus making the peer to peer
networks more efficient
.
+[Teredo | http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/teredo.mspx] is a method of tunneling [IPv6] packets over [IPv4] that is capable of providing direct connections even
in situations where both ends are behind
[NAT] gateways
. The efficiency of virtual PeerToPeer
networks greatly benefits from this capability
.
-Under Linux/FreeBSD
you need to
have [IPv6] in your kernel
, and need
to install/run http://www.simphalempin.com/dev/miredo/
in client mode
.
+However, it does require that
+* there is no FireWall between
you and the [Teredo] server
+* you don't
have a realworld
[IPv6] address from somewhere else
+* you are not behind a ''symmetric [NAT]'' or ''cone [NAT]'' gateway. If so
, you may be able
to employ some other means such as setting up [6to4] on the [NAT] device
in order to get an [IPv6] address
.
-Under Windows you can use the Teredo client that comes with Windows XP SP2 and above, or prior versions with the [Advanced Networking Pack|http://www.microsoft.com/downloads/details.aspx?FamilyId=E88CC382-8CE6-4739-97C0-1A52A6F005E4&displaylang=en]. To enable this you need to run at the cmd prompt:
-<pre>
- ipv6 setup
- netsh interface ipv6 set teredo client
-</pre>
+!!! Implementation notes
-Windows can tell you whats going on by:
-<pre>
- netsh interface ipv6 show teredo
-</pre>
-now you should be able to use
[VoIP
] and
[P2P
] applications that support [IPv6] as if you had a real world IP address.
+[Linux
],
[FreeBSD
]::
-Teredo won't work if:
-*
You have a realworld
[IPv6
] address from somewhere else.
-* You have a "symmetric
[NAT
]" (check the list at the bottom of this page, and please update it!) the only solution here is to find some other way to get an IPv6 address (maybe 6to4
on your NAT device)
or replace your NAT device. Sorry.
-** Linux 2.4 and above use symmetric NAT
, if this is
your problem, try setting up
[6to4
] on your Linux box instead of using Teredo
.
-* Theres a firewall between you and the teredo server.
-* You're on a Windows domain (in that case use =netsh interface ipv6 set teredo enterpriseclient= instead)
+
You can use
[Miredo | http://www.simphalempin.com/dev/miredo/
]'s client mode to implement
[Teredo
] on [Linux]
or [FreeBSD]
, provided
your [Kernel
] has [IPv6] support
.
-Various types of [NAT]s that do and don't work
:
-* Symmetric
[NAT] (Doesn
't work with teredo):
-** Linux
+ Notes
:
+
* [Linux] 2.4 and above use symmetric
[NAT] -- if this causes problems, set up [6to4] on your [Linux] box instead.
+ * It won
't work on [m0n0wall], which uses cone [NAT] on a [FreeBSD] [Kernel].
-* Cone
[NAT
]
-** monowall (FreeBSD kernel)
+ <br>
+
+MicrosoftWindows::
+
+ <br> You need XP Service Pack 2 or the
[Advanced Networking Pack | http://www.microsoft.com/downloads/details.aspx?FamilyId=E88CC382-8CE6-4739-97C0-1A52A6F005E4&displaylang=en
]. On a CommandLine, do:
+
+ <pre>
+ ipv6 setup
+ netsh interface ipv6 set teredo client
+ </pre>
+
+ Note: if you are on a MicrosoftWindows domain you must substitute <tt>client</tt> for <tt>enterpriseclient</tt>.
+
+ Now you should be able to use [VoIP] and [P2P] applications that support [IPv6] as if you had a realworld [IP] address.
+
+ You can monitor the interface using:
+
+ <pre>
+ netsh interface ipv6 show teredo
+ </pre>
----
CategoryNetworking