i2pd.conf 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. ## Configuration file for a typical i2pd user
  2. ## See https://i2pd.readthedocs.io/en/latest/user-guide/configuration/
  3. ## for more options you can use in this file.
  4. ## Lines that begin with "## " try to explain what's going on. Lines
  5. ## that begin with just "#" are disabled commands: you can enable them
  6. ## by removing the "#" symbol.
  7. ## Tunnels config file
  8. ## Default: ~/.i2pd/tunnels.conf or /var/lib/i2pd/tunnels.conf
  9. # tunconf = /var/lib/i2pd/tunnels.conf
  10. ## Tunnels config files path
  11. ## Use that path to store separated tunnels in different config files.
  12. ## Default: ~/.i2pd/tunnels.d or /var/lib/i2pd/tunnels.d
  13. # tunnelsdir = /var/lib/i2pd/tunnels.conf.d
  14. ## Where to write pidfile (don't write by default)
  15. # pidfile = /var/run/i2pd.pid
  16. ## Logging configuration section
  17. ## By default logs go to stdout with level 'info' and higher
  18. ##
  19. ## Logs destination (valid values: stdout, file, syslog)
  20. ## * stdout - print log entries to stdout
  21. ## * file - log entries to a file
  22. ## * syslog - use syslog, see man 3 syslog
  23. # log = file
  24. ## Path to logfile (default - autodetect)
  25. # logfile = /var/log/i2pd.log
  26. ## Log messages above this level (debug, *info, warn, error, none)
  27. ## If you set it to none, logging will be disabled
  28. # loglevel = info
  29. ## Write full CLF-formatted date and time to log (default: write only time)
  30. # logclftime = true
  31. ## Daemon mode. Router will go to background after start
  32. # daemon = true
  33. ## Specify a family, router belongs to (default - none)
  34. # family =
  35. ## External IP address to listen for connections
  36. ## By default i2pd sets IP automatically
  37. # host = 1.2.3.4
  38. ## Port to listen for connections
  39. ## By default i2pd picks random port. You MUST pick a random number too,
  40. ## don't just uncomment this
  41. # port = 4567
  42. ## Enable communication through ipv4
  43. ipv4 = true
  44. ## Enable communication through ipv6
  45. ipv6 = false
  46. ## Network interface to bind to
  47. # ifname =
  48. ## You can specify different interfaces for IPv4 and IPv6
  49. # ifname4 =
  50. # ifname6 =
  51. ## Enable NTCP transport (default = true)
  52. # ntcp = true
  53. ## If you run i2pd behind a proxy server, you can only use NTCP transport with ntcpproxy option
  54. ## Should be http://address:port or socks://address:port
  55. # ntcpproxy = http://127.0.0.1:8118
  56. ## Enable SSU transport (default = true)
  57. # ssu = true
  58. ## Should we assume we are behind NAT? (false only in MeshNet)
  59. # nat = true
  60. ## Bandwidth configuration
  61. ## L limit bandwidth to 32KBs/sec, O - to 256KBs/sec, P - to 2048KBs/sec,
  62. ## X - unlimited
  63. ## Default is X for floodfill, L for regular node
  64. # bandwidth = L
  65. ## Max % of bandwidth limit for transit. 0-100. 100 by default
  66. # share = 100
  67. ## Router will not accept transit tunnels, disabling transit traffic completely
  68. ## (default = false)
  69. # notransit = true
  70. ## Router will be floodfill
  71. # floodfill = true
  72. [http]
  73. ## Web Console settings
  74. ## Uncomment and set to 'false' to disable Web Console
  75. # enabled = true
  76. ## Address and port service will listen on
  77. address = 127.0.0.1
  78. port = 7070
  79. ## Path to web console, default "/"
  80. # webroot = /
  81. ## Uncomment following lines to enable Web Console authentication
  82. # auth = true
  83. # user = i2pd
  84. # pass = changeme
  85. [httpproxy]
  86. ## Uncomment and set to 'false' to disable HTTP Proxy
  87. # enabled = true
  88. ## Address and port service will listen on
  89. address = 127.0.0.1
  90. port = 4444
  91. ## Optional keys file for proxy local destination
  92. # keys = http-proxy-keys.dat
  93. ## Enable address helper for adding .i2p domains with "jump URLs" (default: true)
  94. # addresshelper = true
  95. ## Address of a proxy server inside I2P, which is used to visit regular Internet
  96. # outproxy = http://false.i2p
  97. ## httpproxy section also accepts I2CP parameters, like "inbound.length" etc.
  98. [socksproxy]
  99. ## Uncomment and set to 'false' to disable SOCKS Proxy
  100. # enabled = true
  101. ## Address and port service will listen on
  102. address = 127.0.0.1
  103. port = 4447
  104. ## Optional keys file for proxy local destination
  105. # keys = socks-proxy-keys.dat
  106. ## Socks outproxy. Example below is set to use Tor for all connections except i2p
  107. ## Uncomment and set to 'true' to enable using of SOCKS outproxy
  108. # outproxy.enabled = false
  109. ## Address and port of outproxy
  110. # outproxy = 127.0.0.1
  111. # outproxyport = 9050
  112. ## socksproxy section also accepts I2CP parameters, like "inbound.length" etc.
  113. [sam]
  114. ## Uncomment and set to 'true' to enable SAM Bridge
  115. enabled = true
  116. ## Address and port service will listen on
  117. # address = 127.0.0.1
  118. # port = 7656
  119. [bob]
  120. ## Uncomment and set to 'true' to enable BOB command channel
  121. # enabled = false
  122. ## Address and port service will listen on
  123. # address = 127.0.0.1
  124. # port = 2827
  125. [i2cp]
  126. ## Uncomment and set to 'true' to enable I2CP protocol
  127. # enabled = false
  128. ## Address and port service will listen on
  129. # address = 127.0.0.1
  130. # port = 7654
  131. [i2pcontrol]
  132. ## Uncomment and set to 'true' to enable I2PControl protocol
  133. # enabled = false
  134. ## Address and port service will listen on
  135. # address = 127.0.0.1
  136. # port = 7650
  137. ## Authentication password. "itoopie" by default
  138. # password = itoopie
  139. [precomputation]
  140. ## Enable or disable elgamal precomputation table
  141. ## By default, enabled on i386 hosts
  142. # elgamal = true
  143. [upnp]
  144. ## Enable or disable UPnP: automatic port forwarding (enabled by default in WINDOWS, ANDROID)
  145. # enabled = false
  146. ## Name i2pd appears in UPnP forwardings list (default = I2Pd)
  147. # name = I2Pd
  148. [reseed]
  149. ## Options for bootstrapping into I2P network, aka reseeding
  150. ## Enable or disable reseed data verification.
  151. verify = true
  152. ## URLs to request reseed data from, separated by comma
  153. ## Default: "mainline" I2P Network reseeds
  154. # urls = https://reseed.i2p-projekt.de/,https://i2p.mooo.com/netDb/,https://netdb.i2p2.no/
  155. ## Path to local reseed data file (.su3) for manual reseeding
  156. # file = /path/to/i2pseeds.su3
  157. ## or HTTPS URL to reseed from
  158. # file = https://legit-website.com/i2pseeds.su3
  159. ## Path to local ZIP file or HTTPS URL to reseed from
  160. # zipfile = /path/to/netDb.zip
  161. ## If you run i2pd behind a proxy server, set proxy server for reseeding here
  162. ## Should be http://address:port or socks://address:port
  163. # proxy = http://127.0.0.1:8118
  164. ## Minimum number of known routers, below which i2pd triggers reseeding. 25 by default
  165. # threshold = 25
  166. [addressbook]
  167. ## AddressBook subscription URL for initial setup
  168. ## Default: inr.i2p at "mainline" I2P Network
  169. # defaulturl = http://joajgazyztfssty4w2on5oaqksz6tqoxbduy553y34mf4byv6gpq.b32.i2p/export/alive-hosts.txt
  170. ## Optional subscriptions URLs, separated by comma
  171. # subscriptions = http://inr.i2p/export/alive-hosts.txt,http://stats.i2p/cgi-bin/newhosts.txt,http://rus.i2p/hosts.txt
  172. [limits]
  173. ## Maximum active transit sessions (default:2500)
  174. # transittunnels = 2500
  175. ## Limit number of open file descriptors (0 - use system limit)
  176. # openfiles = 0
  177. ## Maximum size of corefile in Kb (0 - use system limit)
  178. # coresize = 0
  179. ## Threshold to start probabalistic backoff with ntcp sessions (0 - use system limit)
  180. # ntcpsoft = 0
  181. ## Maximum number of ntcp sessions (0 - use system limit)
  182. # ntcphard = 0
  183. [trust]
  184. ## Enable explicit trust options. false by default
  185. # enabled = true
  186. ## Make direct I2P connections only to routers in specified Family.
  187. # family = MyFamily
  188. ## Make direct I2P connections only to routers specified here. Comma separated list of base64 identities.
  189. # routers =
  190. ## Should we hide our router from other routers? false by default
  191. # hidden = true
  192. [exploratory]
  193. ## Exploratory tunnels settings with default values
  194. # inbound.length = 2
  195. # inbound.quantity = 3
  196. # outbound.length = 2
  197. # outbound.quantity = 3
  198. [persist]
  199. ## Save peer profiles on disk (default: true)
  200. # profiles = true