From fda68c114c1356ddb0a9a698480d19d2f6d8a782 Mon Sep 17 00:00:00 2001 From: hagen Date: Wed, 1 Apr 2015 13:48:54 +0000 Subject: [PATCH] * README.md --- README.md | 49 +++++++++++++++++++++++++++++++------------------ 1 file changed, 31 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 7de735d6..1d5d85ff 100644 --- a/README.md +++ b/README.md @@ -104,21 +104,34 @@ i2p.conf: tunnels.cfg (filename of this config is subject of change): - ; outgoing tunnel, to remote service - [tunnel1] - type = client ; mandatory - port = ; mandatory, bind our side of tunnel to this local port - keys = ; optional - destination = ; mandatory - destinationport = ; optional, port of remote i2p service - - ; incoming tunnel, for local service(s) - [tunnel2] - type = server ; mandatory - host = ; mandatory, hostname of our i2p service - keys = ; mandatory, hostname keys - port = ; mandatory, forward incoming connections from i2p to this port - inport = ; optional, i2p service port - accesslist = [,] ; optional, comma-separated list of i2p idents, allowed to connect to service - -Note: '' type is a string like or + ; outgoing tunnel sample, to remote service + ; mandatory parameters: + ; * type -- always "client" + ; * port -- local port to listen to + ; * destination -- i2p hostname + ; optional parameters (may be omitted) + ; * keys -- our identity, if unset, will be generated on every startup, + ; if set and file missing, keys will be generated and placed to this file + [IRC] + type = client + port = 6668 + destination = irc.echelon.i2p + keys = irc-keys.dat + + ; incoming tunnel sample, for local service + ; mandatory parameters: + ; * type -- always "server" + ; * host -- ip address of our service + ; * port -- port of our service + ; * keys -- file with LeaseSet of address in i2p + ; optional parameters (may be omitted) + ; * inport -- optional, i2p service port, if unset - the same as 'port' + ; * accesslist -- comma-separated list of i2p addresses, allowed to connect + ; every address is b32 without '.b32.i2p' part + [LOCALSITE] + type = server + host = 127.0.0.1 + port = 80 + keys = site-keys.dat + inport = 81 + accesslist = [,]