i2pd/docs/i2pd.conf

131 lines
3.5 KiB
Plaintext
Raw Normal View History

2016-03-19 22:39:35 +00:00
## Configuration file for a typical i2pd user
## See https://i2pd.readthedocs.org/en/latest/configuration.html
## 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
## Where to write pidfile (don't write by default)
2016-03-28 00:00:00 +00:00
# pidfile = /var/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
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)
2016-06-22 08:49:22 +00:00
# logfile = /var/log/i2pd.log
2016-03-19 22:39:35 +00:00
## Log messages above this level (debug, *info, warn, error)
2016-03-28 00:00:00 +00:00
# loglevel = info
2016-03-19 22:39:35 +00:00
## Path to storage of i2pd data (RI, keys, peer profiles, ...)
## Default: ~/.i2pd or /var/lib/i2pd
2016-03-28 00:00:00 +00:00
# datadir = /var/lib/i2pd
2016-03-19 22:39:35 +00:00
## Daemon mode. Router will go to background after start
2016-03-28 00:00:00 +00:00
# daemon = true
2016-03-19 22:39:35 +00:00
## Run as a service. Router will use system folders like /var/lib/i2pd
2016-03-28 00:00:00 +00:00
# service = true
2016-03-19 22:39:35 +00:00
## External IP address to listen for connections
## By default i2pd sets IP automatically
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
2016-03-19 22:39:35 +00:00
## Bandwidth configuration
2016-06-22 08:46:37 +00:00
## L limit bandwidth to 32Kbs/sec, O - to 256Kbs/sec, P - to 2048Kbs/sec,
## X - unlimited
## Default is X for floodfill, L for regular node
2016-03-28 00:00:00 +00:00
# bandwidth = L
2016-03-19 22:39:35 +00:00
## Router will not accept transit tunnels at startup
2016-03-28 00:00:00 +00:00
# notransit = true
2016-03-19 22:39:35 +00:00
## Router will be floodfill
2016-03-28 00:00:00 +00:00
# floodfill = true
2016-03-19 22:39:35 +00:00
2016-06-22 08:46:37 +00:00
[limits]
## Maximum active transit sessions (default:2500)
# transittunnels = 2500
[precomputation]
## Enable or disable elgamal precomputation table
## By default, enabled on i386 hosts
# elgamal = true
2016-03-19 22:39:35 +00:00
[http]
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
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
[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-06-22 08:46:37 +00:00
2016-03-19 22:39:35 +00:00
## Socks outproxy. Example below is set to use Tor for all connections except i2p
2016-03-28 00:00:00 +00:00
## Address and port of outproxy
# outproxy = 127.0.0.1
# outproxyport = 9050
[sam]
## Uncomment and set to 'true' to enable SAM Bridge
# enabled = false
## 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