This is MCTun - MUD Compression tunnel.

It provides a tunnel (or gateway), which supports MCCP on client's end. For all
clients, it acts as a server, and for the server, it acts like a lot of clients
with single IP. Currently is supports MCCP versions 1 and 2.

This program is supposed to be used to lower bandwidth between clients and
server. This program is supposed to be set up on computer with good connection
to MUD server(s).

Configuration.
Configuration file mctun.cfg (which is supposed to be in current directory)
consists of empty lines, comment lines (which begin from #) and redirect
description lines. That lines contains 1 word and 4 numbers separated by spaces:
local port number(this port MCTun binds and listens for client connections),
remote host name, remote port (to this address MCTun redirects connections),
compression level (recommended value is 9, greater is higher but slower
compression) and memory usage parameter (for zlib version, which I'm using,
it must be greater, than 8, and lower, than 16. greater is better, but more
memory consuming).
Example from my config:
===Cut here===
#Arda MUD
4005 arda.net.ru 4000 9 15

#My local MUD
4006 localhost 4000 9 15
===Cut here===

