IPv6

From Discworld MUD Wiki
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:

discworld.starturtle.net or by IP address [2a02:8010:6224:2::69] port 4242.
  • The above address should try to connect you through IPv6 and if that fails through IPv4.
  • The line after you enter your password will tell you "and are currently logged in from <address>". If this starts with "::ffff:" then you are still using IPv4. (Note: You can also use the command 'access ip' on the mud to check the IP address the mud is seeing.)

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 test one port on an IPv6 address here. Use your IPv6 address from the previous link.


For more information, a series of blog posts on IPv6 might explain things better:


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

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 this link 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 Windows, it seems you need Toredo support (see the Microsoft Toredo overview).


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


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. See the MUD client page for links.

Here are some that work:

Windows

  • Kildclient, but the devs didn't test it
  • Mudlet
  • TinTin++
  • TinyFugue

GNU/Linux

  • Kildclient, but the devs didn't test it
  • Kmuddy
  • Mudlet
  • TinTin++
  • TinyFugue

Detailed instructions:

Kildclient

Information by Aphaea

Export your settings from the Discworld world, create a new world using the IPv6 address 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 the IPv6 address 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)

TinyFugue

TinyFugue 4 (the stable version) doesn't work with IPv6, you need to install version 5. At least on Ubuntu it's package tf5, as opposed to the standard tf package. If you have both installed and want to use version 5 for the tf command, type sudo update-alternatives --config tf into terminal and choose '/usr/bin/tf5'. Afterwards, you can use the starturtle address to connect to the MUD.

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 (mushclient, zmud, cmud, windows clients using wine on linux systems) across ipv6 tunnels.

Note - You do this after you have your IPv6 tunnel working. This is an extra set of steps to use a non IPv6 client over a working IPv6 tunnel!

Linux

6tunnel

Installing 6tunnel (debian / ubuntu, other linuxes and package managers are available):

$ sudo apt-get install 6tunnel

Then set up a tunnel to connect your local port of choice (4242?) to port 4242 on the mud's ipv6 address:

$ 6tunnel 2a02:8010:6224:2::69 4242

Now configure your ipv4 client to connect to localhost port 4242, and it should be connected to the mud. This works for me with mushclient running under wine, tunneling through the Teredo (using miredo) or Freenet6 (using gogoc) IPv6 networks.

Windows

Windows can also do ipv4 to ipv6 port proxying as follows:

netsh interface portproxy add v4tov6 listenport=4242 connectaddress=discworld6.obsidian.org.uk connectport=4242

Then just configure your ipv4 client to connect to localhost port 4242 and it should connect to the mud. This has been tested and works fine in Windows XP (with the free IPv6 tunnel provided by gogo6).

Help! None of this makes any sense!

You probably don't need IPv6. Try without it.

Ultimately there's lots of different ways to get a working IPv6 connection to the mud. Assuming you're using Windows and a standard IPv4 client, here's probably the simplest, consisting of simple steps:

  • Test the connection by going here.
  • Open a command prompt (by doing Start->Run... and running 'cmd') and enter the following command:
netsh interface portproxy add v4tov6 listenport=4242 connectaddress=discworld.starturtle.net connectport=4242
  • Finally, set your mud client to connect to localhost, port 4242, instead of discworld.starturtle.net.

This should get you up and running. Good luck!

See also