IPv6

From Discworld MUD Wiki
Revision as of 17:28, 22 April 2011 by Zexium (Talk | contribs) (Linux)

Jump to: navigation, search

This is information about accessing the mud through IPv6.

Using IPv6 might help with connections problems with the line through which the IPv4 connections go through. It can help with disconnection issues that only affect IPv4.

To get IPv6 to work for your mudding pleasure you need:

  • an IPv6 tunnel broker or an IPv6 enabled internet connection
  • an IPv6 enabled client or a suitable ipV4 to ipV6 proxy
  • and to use the IPv6 address for Discworld Mud.

Discworld IPv6 address

To mud using IPv6 you need to use the IPv6 address for the mud:

discworld6.obsidian.org.uk or by IP [2a01:348:19e:2::2] port 4242.
  • Warning: not all mud clients support IPv6!

IPv6 Tunnel Brokers

There are several so called IPv6 brokers that can allow one to access the IPv6 network without having an IPv6 enabled internet connection. Some are free. Some require registration.

Obviously you don't need this if your internet connection already provides IPv6.


Be advised that that the connections from the IPv6 tunnel might not be protected like your regular connection by your firewall, some adjustments might be necessary. The tunnel might be exposing all the ports on your computer, bypassing any router protections.
  • On GNU/Linux you need to use ip6tables for IPv6 and iptables for IPv4.
  • You can portscan your IPv6 address here. If it shows an address like xxx.xxx.xxx.xxx you don't have IPv6 working.
  • You can test one port on an IPv6 address here. Use your IPv6 address from the previous link.


For Gentoo, the Gentoo IPv6 Router Guide provides information to get IPv6 working and lists a few tunnel brokers.

Gogo6/Freenet6

For Gentoo you only need to "emerge gateway6" and "/etc/init.d/gw6c start" to get it to work. If you want the service to start at each boot, do "rc-update add gw6c defaut".

For Mac OS X, there does not seem to be any graphical user interface available.

For Windows, assuming you want to use gogo6/Freenet6 there are instructions on this thread.

  • For windows 7 it needs to run in compatibility mode.

Miredo/Teredo/Toredo

Miredo offers quick-n-easy IPV6 connectivity for GNU/Linux, FreeBSD, NetBSD and Mac OS X. It is free.

Toredo is the implementation bundled in Windows Vista and Windows XP SP2.


Sojan suggested these links on the boards:

See also Wikipedia's article on Teredo Tunneling


For Gentoo you can "emerge miredo". Then, "/etc/init.d/miredo start". If you want the service to start at each boot, do "rc-update add miredo defaut".

For Mac OS X, there is an installer available.

For Windows, it seems you need Toredo support (see the Microsoft Toredo overview).

  • On Windows XP this apparently requires installing Service Pack 2. Following the instructions in Sojan's second link it is sufficient to run the command "netsh interface ipv6 install" and then enable Microsoft TCP/IP Version 6 in the properties of the network connection you want to use. At this point you should have an IPv6 address research, even though it won't show up in the output of the "ipconfig" command until the command "netsh interface ipv6 set privacy disabled" is executed as well.
  • On Windows Vista it should work out-of-the-box.
  • It is not very clear if anything needs to be done next. If it doesn't "just work" then Toredo probably needs to be activated and/or configured to use public servers.


A list of (hopefully working) public Teredo servers:

  • teredo.remlab.net / teredo-debian.remlab.net / teredo2.remlab.net (France)
  • teredo.autotrans.consulintel.com (Spain)
  • teredo.ipv6.microsoft.com (USA, Redmond) (default for WindowsXP/2003/Vista/2008 OS)
  • teredo.ngix.ne.kr (South Korea)
  • teredo.managemydedi.com (USA, Chicago)
  • teredo.trex.fi (Finland)
  • teredo.ginzado.ne.jp (Japan)
  • teredo.iks-jena.de (Germany)
  • debian-miredo.progsoc.org

SixXS/AICCU

SixXS provides a client, AICCU, which is available for Windows, GNU/Linux, Mac OS X and many other platforms.

It seems that AICCU only works after registering, it cannot be used anonymously.

See the AICCU download page.

For Gentoo you only need to "emerge aiccu". Then you need to configure the file "/etc/aiccu.conf with your account information". Then you can "/etc/init.d/aiccu start" to get it to work. If you want the service to start at each boot, do "rc-update add aiccu defaut".

For Mac OS X, you can download it from MacPorts or as a Mac OS X binary but then you need to do some more things. See the AICCU download page.

For Windows, There is a graphical user interface (GUI) on the AICCU download page.

Testing IPv6

Now that you installed software and made it connect to the IPv6 tunnel broker you can try your new connection by going at the IPv6 address for the mud: http://discworld6.obsidian.org.uk/.


Another test is to try to visit http://www.ipv6.sixxs.net/, if it works then it means IPv6 works for you. You can also use a javascript test http://test-ipv6.com/ or a simple test http://test-ipv6.com/simple_test.html to check if it works.


On a GNU/Linux system, you can try to connect with telnet on the console:

$ telnet 2a01:348:19e:2::2 4242

IPv6 enabled Mud Clients

Not all mud clients work with IPv6. Here are some that work:

Windows

GNU/Linux

Detailed instructions:

Kildclient

Information by Aphaea

Export your settings from the Discworld world, create a new world using 2a01:348:19e:2::2 as host and 4242 as port, import your exported settings to it and connect.

Mudlet

Information by Xorphitus:

To be helpful for once, I can tell you how I connect to the Disc with a client as well. I use Mudlet which can be downloaded for free here.

  • You have to activate or turn on ipv6 first of all, and hope your network and your computer support it somehow first of all. Check some lines above how to do or check that.
  • Install Mudlet and run it.
  • Hit the "connect" button which will take you to a selection of MUDs you may want to connect to.
  • So fill the blank spaces server adress to "2a01:348:19e:2::2" and port to 4242.
  • Name the profile "Discworld" or whatever you like, and connect.

Worked for me. The client should remember the MUD from now on, so next time just click on the Discworld banner on the left. --Xorphitus 14:35, 14 April 2011 (UTC)

Using IPv4 Clients

This usually requires proxy or port forwarding software to accept a local ipv4 connection and reroute it across your ipv6 connection to the mud. This will allow the use of non ipv6 aware clients across ipv6 tunnels.

Linux

6tunnel

$ 6tunnel 4242 2a01:348:19e:2::2 4242

Now configure your ipv4 client to connect to localhost port 4242, and it should be connected to the mud. This is working for me with mushclient running under wine, using miredo to provide ipv6 tunneling through the teredo ipv6 network.

See also