{% extends "_layout.html" %} {% block title %}i2ptunnel{% endblock %} {% block content %}Description of i2ptunnel and tunneling modes default services client modes serrver modes

I2PTunnel

Overview

I2PTunnel a tool for interfacing with and providing services on I2P. By directing an I2PTunnel to a destination, via a hostname, Base32 or a full 516-byte destination key, a localhost:port interface to that servie is provided. Providing a service is as simple as creating a server I2PTunnel to the appropriate ip:port, a 516-byte destination key will be generated for the service and it will be avaliable throughout I2P. A web interface is avaliable on localhost:7657/i2ptunnel/.


Default Services

Server tunnels

Client tunnels


Client Modes

Standard

Opens a local TCP port that connects to a service (like HTTP, FTP or SMTP) on a destination inside of I2P. The tunnel is directed to a random host from the comma seperated (", ") list of destinations.

HTTP

A HTTP-client tunnel. The tunnel connects to the destination specified by the URL in a HTTP request. Supports proxying onto internet if an outproxy is provided. Strips HTTP connections of the following headers:

IRC

Creates a connection to a random IRC server specified by the comma seprated (", ") list of destinations. Only a whitelisted subset of IRC commands are allowed due to anonymity concerns.
Whitelist:

SOCKS 4/4a/5

Enables using the I2P router as a SOCKS proxy.

SOCKS IRC

Enables using the I2P router as a SOCKS proxy with the command whitelist specified by IRC client mode.

CONNECT

Creates a HTTP tunnel and uses the HTTP request method "CONNECT" to build a TCP tunnel that usually is used for SSL and HTTPS.

Streamr

Creates a UDP-server attached to a Streamr client I2PTunnel. The streamr client tunnel will subscribe to a streamr server tunnel.

Server Modes

Standard

Creates a destination to a local ip:port with an open TCP port.

HTTP

Creates a destination to a local HTTP server ip:port. Supports gzip for requests with Accept-encoding: x-i2p-gzip. Replies

HTTP Bidirectional

A HTTP proxy with no outproxying capabilities.

IRC

Creates a destination that filters the reqistration sequence of a client and passes the destination hash as a hostname to the IRC-server.

Streamr

A UDP-client that connects to a media server is created. The UDP-Client is coupled with a Streamr server I2PTunnel. {% endblock %}