i2pd/contrib/i2pd.conf

278 lines
9.1 KiB
Plaintext
Raw Normal View History

2016-03-19 22:39:35 +00:00
## Configuration file for a typical i2pd user
2018-09-06 21:27:28 +00:00
## See https://i2pd.readthedocs.io/en/latest/user-guide/configuration/
2016-03-19 22:39:35 +00:00
## for more options you can use in this file.
## Lines that begin with "## " try to explain what's going on. Lines
## that begin with just "#" are disabled commands: you can enable them
## by removing the "#" symbol.
2016-03-28 00:00:00 +00:00
## Tunnels config file
## Default: ~/.i2pd/tunnels.conf or /var/lib/i2pd/tunnels.conf
2016-03-28 00:00:00 +00:00
# tunconf = /var/lib/i2pd/tunnels.conf
2016-03-19 22:39:35 +00:00
2018-11-06 17:04:26 +00:00
## Tunnels config files path
## Use that path to store separated tunnels in different config files.
## Default: ~/.i2pd/tunnels.d or /var/lib/i2pd/tunnels.d
# tunnelsdir = /var/lib/i2pd/tunnels.d
2018-11-06 17:04:26 +00:00
## Path to certificates used for verifying .su3, families
## Default: ~/.i2pd/certificates or /var/lib/i2pd/certificates
# certsdir = /var/lib/i2pd/certificates
## Where to write pidfile (default: i2pd.pid, not used in Windows)
# pidfile = /run/i2pd.pid
2016-03-19 22:39:35 +00:00
## Logging configuration section
2016-03-28 00:00:00 +00:00
## By default logs go to stdout with level 'info' and higher
## For Windows OS by default logs go to file with level 'warn' and higher
2016-03-19 22:39:35 +00:00
##
2016-03-28 00:00:00 +00:00
## Logs destination (valid values: stdout, file, syslog)
## * stdout - print log entries to stdout
## * file - log entries to a file
## * syslog - use syslog, see man 3 syslog
# log = file
2016-03-19 22:39:35 +00:00
## Path to logfile (default - autodetect)
# logfile = /var/log/i2pd/i2pd.log
## Log messages above this level (debug, info, *warn, error, none)
2017-11-15 18:30:00 +00:00
## If you set it to none, logging will be disabled
# loglevel = warn
## Write full CLF-formatted date and time to log (default: write only time)
# logclftime = true
2016-03-19 22:39:35 +00:00
## Daemon mode. Router will go to background after start. Ignored on Windows
2016-03-28 00:00:00 +00:00
# daemon = true
2016-03-19 22:39:35 +00:00
2016-08-12 20:23:10 +00:00
## Specify a family, router belongs to (default - none)
# family =
## Network interface to bind to
## Updates address4/6 options if they are not set
# ifname =
## You can specify different interfaces for IPv4 and IPv6
# ifname4 =
# ifname6 =
## Local address to bind transport sockets to
## Overrides host option if:
## For ipv4: if ipv4 = true and nat = false
## For ipv6: if 'host' is not set or ipv4 = true
# address4 =
# address6 =
## External IPv4 or IPv6 address to listen for connections
2016-03-19 22:39:35 +00:00
## By default i2pd sets IP automatically
## Sets published NTCP2v4/SSUv4 address to 'host' value if nat = true
## Sets published NTCP2v6/SSUv6 address to 'host' value if ipv4 = false
2016-03-28 00:00:00 +00:00
# host = 1.2.3.4
2016-03-19 22:39:35 +00:00
## Port to listen for connections
2016-03-28 00:00:00 +00:00
## By default i2pd picks random port. You MUST pick a random number too,
2016-03-19 22:39:35 +00:00
## don't just uncomment this
2016-06-22 08:46:37 +00:00
# port = 4567
## Enable communication through ipv4
ipv4 = true
2016-03-28 00:00:00 +00:00
## Enable communication through ipv6
2016-06-22 08:46:37 +00:00
ipv6 = false
2016-03-28 00:00:00 +00:00
2022-11-20 13:56:05 +00:00
## Enable SSU transport
ssu = false
2016-08-12 20:23:10 +00:00
## Bandwidth configuration
2017-04-19 08:39:01 +00:00
## L limit bandwidth to 32KBs/sec, O - to 256KBs/sec, P - to 2048KBs/sec,
2016-06-22 08:46:37 +00:00
## X - unlimited
## Default is L (regular node) and X if floodfill mode enabled. If you want to
## share more bandwidth without floodfill mode, uncomment that line and adjust
## value to your possibilities
2016-03-28 00:00:00 +00:00
# bandwidth = L
## Max % of bandwidth limit for transit. 0-100. 100 by default
# share = 100
2016-03-19 22:39:35 +00:00
## Router will not accept transit tunnels, disabling transit traffic completely
## (default = false)
2016-03-28 00:00:00 +00:00
# notransit = true
2016-03-19 22:39:35 +00:00
## Router will be floodfill
## Note: that mode uses much more network connections and CPU!
2016-03-28 00:00:00 +00:00
# floodfill = true
2016-03-19 22:39:35 +00:00
[ntcp2]
## Enable NTCP2 transport (default = true)
# enabled = true
## Publish address in RouterInfo (default = true)
# published = true
## Port for incoming connections (default is global port option value)
# port = 4567
[ssu2]
2022-11-20 13:56:05 +00:00
## Enable SSU2 transport
# enabled = true
## Publish address in RouterInfo
# published = true
## Port for incoming connections (default is global port option value or port + 1 if SSU is enabled)
# port = 4567
2016-03-19 22:39:35 +00:00
[http]
## Web Console settings
2016-03-28 00:00:00 +00:00
## Uncomment and set to 'false' to disable Web Console
# enabled = true
## Address and port service will listen on
address = 127.0.0.1
port = 7070
## Path to web console, default "/"
# webroot = /
## Uncomment following lines to enable Web Console authentication
# auth = true
# user = i2pd
# pass = changeme
## Select webconsole language
## Currently supported english (default), afrikaans, armenian, chinese, french,
## german, italian, russian, spanish, turkmen, ukrainian and uzbek languages
# lang = english
2016-03-19 22:39:35 +00:00
[httpproxy]
2016-03-28 00:00:00 +00:00
## Uncomment and set to 'false' to disable HTTP Proxy
# enabled = true
## Address and port service will listen on
2016-04-05 00:00:00 +00:00
address = 127.0.0.1
port = 4444
2016-03-19 22:39:35 +00:00
## Optional keys file for proxy local destination
2016-03-28 00:00:00 +00:00
# keys = http-proxy-keys.dat
## Enable address helper for adding .i2p domains with "jump URLs" (default: true)
# addresshelper = true
## Address of a proxy server inside I2P, which is used to visit regular Internet
# outproxy = http://false.i2p
## httpproxy section also accepts I2CP parameters, like "inbound.length" etc.
2016-03-28 00:00:00 +00:00
[socksproxy]
## Uncomment and set to 'false' to disable SOCKS Proxy
# enabled = true
## Address and port service will listen on
2016-06-22 08:46:37 +00:00
address = 127.0.0.1
port = 4447
2016-03-19 22:39:35 +00:00
## Optional keys file for proxy local destination
2016-03-28 00:00:00 +00:00
# keys = socks-proxy-keys.dat
2016-03-19 22:39:35 +00:00
## Socks outproxy. Example below is set to use Tor for all connections except i2p
## Uncomment and set to 'true' to enable using of SOCKS outproxy
# outproxy.enabled = false
2016-03-28 00:00:00 +00:00
## Address and port of outproxy
# outproxy = 127.0.0.1
# outproxyport = 9050
## socksproxy section also accepts I2CP parameters, like "inbound.length" etc.
2016-03-28 00:00:00 +00:00
[sam]
2021-04-13 06:43:42 +00:00
## Comment or set to 'false' to disable SAM Bridge
enabled = true
2016-03-28 00:00:00 +00:00
## Address and port service will listen on
# address = 127.0.0.1
# port = 7656
[bob]
## Uncomment and set to 'true' to enable BOB command channel
# enabled = false
## Address and port service will listen on
# address = 127.0.0.1
# port = 2827
2016-06-22 08:46:37 +00:00
[i2cp]
## Uncomment and set to 'true' to enable I2CP protocol
# enabled = false
## Address and port service will listen on
# address = 127.0.0.1
# port = 7654
2016-03-28 00:00:00 +00:00
[i2pcontrol]
## Uncomment and set to 'true' to enable I2PControl protocol
# enabled = false
## Address and port service will listen on
# address = 127.0.0.1
# port = 7650
## Authentication password. "itoopie" by default
# password = itoopie
[precomputation]
## Enable or disable elgamal precomputation table
## By default, enabled on i386 hosts
# elgamal = true
[upnp]
## Enable or disable UPnP: automatic port forwarding (enabled by default in WINDOWS, ANDROID)
# enabled = false
## Name i2pd appears in UPnP forwardings list (default = I2Pd)
# name = I2Pd
[meshnets]
## Enable connectivity over the Yggdrasil network
# yggdrasil = false
## You can bind address from your Yggdrasil subnet 300::/64
## The address must first be added to the network interface
# yggaddress =
[reseed]
## Options for bootstrapping into I2P network, aka reseeding
## Enable or disable reseed data verification.
verify = true
## URLs to request reseed data from, separated by comma
## Default: "mainline" I2P Network reseeds
# urls = https://reseed.i2p-projekt.de/,https://i2p.mooo.com/netDb/,https://netdb.i2p2.no/
## Reseed URLs through the Yggdrasil, separated by comma
# yggurls = http://[324:9de3:fea4:f6ac::ace]:7070/
## Path to local reseed data file (.su3) for manual reseeding
# file = /path/to/i2pseeds.su3
## or HTTPS URL to reseed from
# file = https://legit-website.com/i2pseeds.su3
## Path to local ZIP file or HTTPS URL to reseed from
# zipfile = /path/to/netDb.zip
## If you run i2pd behind a proxy server, set proxy server for reseeding here
## Should be http://address:port or socks://address:port
# proxy = http://127.0.0.1:8118
## Minimum number of known routers, below which i2pd triggers reseeding. 25 by default
# threshold = 25
[addressbook]
## AddressBook subscription URL for initial setup
## Default: reg.i2p at "mainline" I2P Network
# defaulturl = http://shx5vqsw7usdaunyzr2qmes2fq37oumybpudrd4jjj4e4vk4uusa.b32.i2p/hosts.txt
## Optional subscriptions URLs, separated by comma
2021-03-31 16:16:06 +00:00
# subscriptions = http://reg.i2p/hosts.txt,http://identiguy.i2p/hosts.txt,http://stats.i2p/cgi-bin/newhosts.txt,http://rus.i2p/hosts.txt
[limits]
## Maximum active transit sessions (default:2500)
# transittunnels = 2500
## Limit number of open file descriptors (0 - use system limit)
# openfiles = 0
## Maximum size of corefile in Kb (0 - use system limit)
# coresize = 0
[trust]
## Enable explicit trust options. false by default
# enabled = true
## Make direct I2P connections only to routers in specified Family.
# family = MyFamily
## Make direct I2P connections only to routers specified here. Comma separated list of base64 identities.
# routers =
## Should we hide our router from other routers? false by default
# hidden = true
[exploratory]
## Exploratory tunnels settings with default values
# inbound.length = 2
# inbound.quantity = 3
# outbound.length = 2
# outbound.quantity = 3
[persist]
## Save peer profiles on disk (default: true)
# profiles = true
## Save full addresses on disk (default: true)
# addressbook = true
[cpuext]
## Use CPU AES-NI instructions set when work with cryptography when available (default: true)
# aesni = true
## Use CPU AVX instructions set when work with cryptography when available (default: true)
# avx = true
## Force usage of CPU instructions set, even if they not found
## DO NOT TOUCH that option if you really don't know what are you doing!
# force = false