Browse Source

Include address option for tunnels in README.md.

pull/237/head
EinMByte 9 years ago
parent
commit
e70f0d999f
  1. 47
      README.md

47
README.md

@ -117,30 +117,31 @@ i2p.conf:
tunnels.cfg (filename of this config is subject of change): tunnels.cfg (filename of this config is subject of change):
; outgoing tunnel sample, to remote service ; outgoing tunnel sample, to remote service
; mandatory parameters: ; mandatory parameters:
; * type -- always "client" ; * type -- always "client"
; * port -- local port to listen to ; * port -- local port to listen to
; * destination -- i2p hostname ; * destination -- i2p hostname
; optional parameters (may be omitted) ; optional parameters (may be omitted)
; * keys -- our identity, if unset, will be generated on every startup, ; * 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 ; if set and file missing, keys will be generated and placed to this file
[IRC] ; * address -- address to listen on, 127.0.0.1 by default
type = client [IRC]
port = 6668 type = client
destination = irc.echelon.i2p port = 6668
keys = irc-keys.dat destination = irc.echelon.i2p
keys = irc-keys.dat
; incoming tunnel sample, for local service ; incoming tunnel sample, for local service
; mandatory parameters: ; mandatory parameters:
; * type -- always "server" ; * type -- always "server"
; * host -- ip address of our service ; * host -- ip address of our service
; * port -- port of our service ; * port -- port of our service
; * keys -- file with LeaseSet of address in i2p ; * keys -- file with LeaseSet of address in i2p
; optional parameters (may be omitted) ; optional parameters (may be omitted)
; * inport -- optional, i2p service port, if unset - the same as 'port' ; * inport -- optional, i2p service port, if unset - the same as 'port'
; * accesslist -- comma-separated list of i2p addresses, allowed to connect ; * accesslist -- comma-separated list of i2p addresses, allowed to connect
; every address is b32 without '.b32.i2p' part ; every address is b32 without '.b32.i2p' part
[LOCALSITE] [LOCALSITE]
type = server type = server
host = 127.0.0.1 host = 127.0.0.1

Loading…
Cancel
Save