* tunnels.cfg

hagen
2015-12-09 09:47:55 +00:00
parent 08a43245b8
commit 2a4e8cabad

@@ -10,18 +10,18 @@ Section type is specified by 'type' parameter with possible values 'client', 's
Client tunnels Client tunnels
-------------- --------------
Mnemonic: WE can connect to someone as client Mnemonic: we can connect to someone as client
Must contain few mandatory parameters, some optional parameters might be also presented. Must contain few mandatory parameters, some optional parameters might be also presented.
Example of client tunnel: Example of client tunnel:
[irc-out] [irc-out]
type = client type = client
address = 127.0.0.1 address = 127.0.0.1
port = 6668 port = 6668
destination = irc.echelon.i2p destination = irc.echelon.i2p
keys = irc.dat keys = irc.dat
If 'keys' is empty, transient keys will be created on every restart. If keys file is not found, new keys will be created and store into specified file. If 'keys' is empty, transient keys will be created on every restart. If keys file is not found, new keys will be created and store into specified file.
@@ -29,12 +29,12 @@ Client tunnels might share same local destination, if keys file contains same id
'address' means local interface tunnel binds to, '127.0.0.1' for connections from local host only, '0.0.0.0' for connections from everywhere. 'address' means local interface tunnel binds to, '127.0.0.1' for connections from local host only, '0.0.0.0' for connections from everywhere.
So, if we telnet to 127.0.0.1/6668 on localhost, i2pd will connect us to irc.echelon.i2p:6668 So, with example above, if you telnet to 127.0.0.1:6668 on localhost, i2pd will connect to irc.echelon.i2p:6668
Server/generic tunnels Server/generic tunnels
---------------------- ----------------------
Mnemonic: WE serving some service to others in network Mnemonic: we serving some service to others in network
Example of server tunnel: Example of server tunnel: