mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-10-31 09:20:38 +00:00
110 lines
3.1 KiB
Plaintext
110 lines
3.1 KiB
Plaintext
## 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.
|
||
|
||
## Tunnels config file
|
||
## Default: ~/.i2pd/tunnels.conf or /var/lib/i2pd/tunnels.conf
|
||
# tunconf = /var/lib/i2pd/tunnels.conf
|
||
|
||
## Where to write pidfile (don't write by default)
|
||
# pidfile = /var/run/i2pd.pid
|
||
|
||
## Logging configuration section
|
||
## By default logs go to stdout with level 'info' and higher
|
||
##
|
||
## 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
|
||
## Path to logfile (default - autodetect)
|
||
# logfile = /var/log/i2pd.log
|
||
## Log messages above this level (debug, *info, warn, error)
|
||
# loglevel = info
|
||
|
||
## Path to storage of i2pd data (RI, keys, peer profiles, ...)
|
||
## Default: ~/.i2pd or /var/lib/i2pd
|
||
# datadir = /var/lib/i2pd
|
||
|
||
## Daemon mode. Router will go to background after start
|
||
# daemon = true
|
||
## Run as a service. Router will use system folders like ‘/var/lib/i2pd’
|
||
# service = true
|
||
|
||
## External IP address to listen for connections
|
||
## By default i2pd sets IP automatically
|
||
# host = 1.2.3.4
|
||
|
||
## Port to listen for connections
|
||
## By default i2pd picks random port. You MUST pick a random number too,
|
||
## don't just uncomment this
|
||
# port = 4321
|
||
|
||
## Enable communication through ipv6
|
||
ipv6 = true
|
||
|
||
## Bandwidth configuration
|
||
## L limit bandwidth to 32Kbs/sec, O - to 256Kbs/sec, P - unlimited
|
||
## Default is P for floodfill, L for regular node
|
||
# bandwidth = L
|
||
|
||
## Router will not accept transit tunnels at startup
|
||
# notransit = true
|
||
|
||
## Router will be floodfill
|
||
# floodfill = true
|
||
|
||
[http]
|
||
## 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
|
||
|
||
[httpproxy]
|
||
## Uncomment and set to 'false' to disable HTTP Proxy
|
||
# enabled = true
|
||
## Address and port service will listen on
|
||
address = 127.0.0.1
|
||
port = 4444
|
||
## Optional keys file for proxy local destination
|
||
# keys = http-proxy-keys.dat
|
||
|
||
[socksproxy]
|
||
## Uncomment and set to 'false' to disable SOCKS Proxy
|
||
# enabled = true
|
||
## Address and port service will listen on
|
||
# address = 127.0.0.1
|
||
# port = 4447
|
||
## Optional keys file for proxy local destination
|
||
# keys = socks-proxy-keys.dat
|
||
## Socks outproxy. Example below is set to use Tor for all connections except i2p
|
||
## 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
|
||
|
||
[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
|