|
|
@ -8,107 +8,102 @@ |
|
|
|
|
|
|
|
|
|
|
|
## Tunnels config file |
|
|
|
## Tunnels config file |
|
|
|
## Default: ~/.i2pd/tunnels.conf or /var/lib/i2pd/tunnels.conf |
|
|
|
## Default: ~/.i2pd/tunnels.conf or /var/lib/i2pd/tunnels.conf |
|
|
|
#tunconf = /var/lib/i2pd/tunnels.conf |
|
|
|
# tunconf = /var/lib/i2pd/tunnels.conf |
|
|
|
|
|
|
|
|
|
|
|
## Where to write pidfile (don't write by default) |
|
|
|
## Where to write pidfile (don't write by default) |
|
|
|
#pidfile = /var/run/i2pd.pid |
|
|
|
# pidfile = /var/run/i2pd.pid |
|
|
|
|
|
|
|
|
|
|
|
## Logging configuration section |
|
|
|
## Logging configuration section |
|
|
|
## By default logs go to stdout with level info |
|
|
|
## By default logs go to stdout with level 'info' and higher |
|
|
|
## |
|
|
|
## |
|
|
|
## Logs destination (stdout, file, syslog) |
|
|
|
## Logs destination (valid values: stdout, file, syslog) |
|
|
|
## stdout - print log entries to stdout |
|
|
|
## * stdout - print log entries to stdout |
|
|
|
## file - log entries to a file |
|
|
|
## * file - log entries to a file |
|
|
|
## syslog - use syslog, see man 3 syslog |
|
|
|
## * syslog - use syslog, see man 3 syslog |
|
|
|
#log = file |
|
|
|
# log = file |
|
|
|
## Path to logfile (default - autodetect) |
|
|
|
## Path to logfile (default - autodetect) |
|
|
|
#logfile = /var/log/i2pd.log |
|
|
|
# logfile = /var/log/i2pd.log |
|
|
|
## Log messages above this level (debug, *info, warn, error) |
|
|
|
## Log messages above this level (debug, *info, warn, error) |
|
|
|
#loglevel = info |
|
|
|
# loglevel = info |
|
|
|
|
|
|
|
|
|
|
|
## Path to storage of i2pd data (RI, keys, peer profiles, ...) |
|
|
|
## Path to storage of i2pd data (RI, keys, peer profiles, ...) |
|
|
|
## Default: ~/.i2pd or /var/lib/i2pd |
|
|
|
## Default: ~/.i2pd or /var/lib/i2pd |
|
|
|
#datadir = /var/lib/i2pd |
|
|
|
# datadir = /var/lib/i2pd |
|
|
|
|
|
|
|
|
|
|
|
## Daemon mode. Router will go to background after start |
|
|
|
## Daemon mode. Router will go to background after start |
|
|
|
#daemon = true |
|
|
|
# daemon = true |
|
|
|
## Run as a service. Router will use system folders like ‘/var/lib/i2pd’ |
|
|
|
## Run as a service. Router will use system folders like ‘/var/lib/i2pd’ |
|
|
|
#service = true |
|
|
|
# service = true |
|
|
|
|
|
|
|
|
|
|
|
## External IP address to listen for connections |
|
|
|
## External IP address to listen for connections |
|
|
|
## By default i2pd sets IP automatically |
|
|
|
## By default i2pd sets IP automatically |
|
|
|
#host = 1.2.3.4 |
|
|
|
# host = 1.2.3.4 |
|
|
|
|
|
|
|
|
|
|
|
## Port to listen for connections |
|
|
|
## Port to listen for connections |
|
|
|
## By default i2pd picks random port. You MUST pick a random number too, |
|
|
|
## By default i2pd picks random port. You MUST pick a random number too, |
|
|
|
## don't just uncomment this |
|
|
|
## don't just uncomment this |
|
|
|
#port = 4321 |
|
|
|
# port = 4321 |
|
|
|
##Enable communication through ipv6 |
|
|
|
|
|
|
|
|
|
|
|
## Enable communication through ipv6 |
|
|
|
ipv6 = true |
|
|
|
ipv6 = true |
|
|
|
|
|
|
|
|
|
|
|
## Bandwidth configuration |
|
|
|
## Bandwidth configuration |
|
|
|
## L limit bandwidth to 32Kbs/sec, O - to 256Kbs/sec, P - unlimited |
|
|
|
## L limit bandwidth to 32Kbs/sec, O - to 256Kbs/sec, P - unlimited |
|
|
|
## Default is P for floodfill, L for regular node |
|
|
|
## Default is P for floodfill, L for regular node |
|
|
|
#bandwidth = L |
|
|
|
# bandwidth = L |
|
|
|
|
|
|
|
|
|
|
|
## Router will not accept transit tunnels at startup |
|
|
|
## Router will not accept transit tunnels at startup |
|
|
|
#notransit = true |
|
|
|
# notransit = true |
|
|
|
|
|
|
|
|
|
|
|
## Router will be floodfill |
|
|
|
## Router will be floodfill |
|
|
|
#floodfill = true |
|
|
|
# floodfill = true |
|
|
|
|
|
|
|
|
|
|
|
## Section for Web Console |
|
|
|
|
|
|
|
## By default it's available at 127.0.0.1:7070 even if it's not configured |
|
|
|
|
|
|
|
[http] |
|
|
|
[http] |
|
|
|
## The address to listen on |
|
|
|
## Uncomment and set to 'false' to disable Web Console |
|
|
|
|
|
|
|
# enabled = true |
|
|
|
|
|
|
|
## Address and port service will listen on |
|
|
|
address = 127.0.0.1 |
|
|
|
address = 127.0.0.1 |
|
|
|
## The port to listen on |
|
|
|
|
|
|
|
port = 7070 |
|
|
|
port = 7070 |
|
|
|
|
|
|
|
|
|
|
|
## Section for HTTP proxy |
|
|
|
|
|
|
|
## By default it's available at 127.0.0.1:4444 even if it's not configured |
|
|
|
|
|
|
|
[httpproxy] |
|
|
|
[httpproxy] |
|
|
|
## The address to listen on |
|
|
|
## Uncomment and set to 'false' to disable HTTP Proxy |
|
|
|
address = 127.0.0.1 |
|
|
|
# enabled = true |
|
|
|
## The port to listen on |
|
|
|
## Address and port service will listen on |
|
|
|
port = 4444 |
|
|
|
# address = 127.0.0.1 |
|
|
|
|
|
|
|
# port = 4444 |
|
|
|
## Optional keys file for proxy local destination |
|
|
|
## Optional keys file for proxy local destination |
|
|
|
#keys = http-proxy-keys.dat |
|
|
|
# keys = http-proxy-keys.dat |
|
|
|
## Uncomment if you want to disable HTTP proxy |
|
|
|
|
|
|
|
#enabled = false |
|
|
|
[socksproxy] |
|
|
|
|
|
|
|
## Uncomment and set to 'false' to disable SOCKS Proxy |
|
|
|
## Section for Socks proxy |
|
|
|
# enabled = true |
|
|
|
## By default it's available at 127.0.0.1:4447 even if it's not configured |
|
|
|
## Address and port service will listen on |
|
|
|
#[socksproxy] |
|
|
|
# address = 127.0.0.1 |
|
|
|
## The address to listen on |
|
|
|
# port = 4447 |
|
|
|
#address = 127.0.0.1 |
|
|
|
|
|
|
|
## The port to listen on |
|
|
|
|
|
|
|
#port = 4447 |
|
|
|
|
|
|
|
## Optional keys file for proxy local destination |
|
|
|
## Optional keys file for proxy local destination |
|
|
|
#keys = socks-proxy-keys.dat |
|
|
|
# keys = socks-proxy-keys.dat |
|
|
|
## Uncomment if you want to disable Socks proxy |
|
|
|
|
|
|
|
#enabled = false |
|
|
|
|
|
|
|
## Socks outproxy. Example below is set to use Tor for all connections except i2p |
|
|
|
## Socks outproxy. Example below is set to use Tor for all connections except i2p |
|
|
|
## Address of outproxy |
|
|
|
## Address and port of outproxy |
|
|
|
#outproxy = 127.0.0.1 |
|
|
|
# outproxy = 127.0.0.1 |
|
|
|
## Outproxy remote port |
|
|
|
# outproxyport = 9050 |
|
|
|
#outproxyport = 9050 |
|
|
|
|
|
|
|
|
|
|
|
[sam] |
|
|
|
## Section for SAM bridge |
|
|
|
## Uncomment and set to 'true' to enable SAM Bridge |
|
|
|
#[sam] |
|
|
|
# enabled = false |
|
|
|
## The address to listen on |
|
|
|
## Address and port service will listen on |
|
|
|
#address = 127.0.0.1 |
|
|
|
# address = 127.0.0.1 |
|
|
|
## Port of SAM bridge |
|
|
|
# port = 7656 |
|
|
|
#port = 7656 |
|
|
|
|
|
|
|
|
|
|
|
[bob] |
|
|
|
## Section for BOB command channel |
|
|
|
## Uncomment and set to 'true' to enable BOB command channel |
|
|
|
#[bob] |
|
|
|
# enabled = false |
|
|
|
## The address to listen on |
|
|
|
## Address and port service will listen on |
|
|
|
#address = 127.0.0.1 |
|
|
|
# address = 127.0.0.1 |
|
|
|
## Port of BOB command channel. Usually 2827. BOB is off if not specified |
|
|
|
# port = 2827 |
|
|
|
#port = 2827 |
|
|
|
|
|
|
|
|
|
|
|
[i2pcontrol] |
|
|
|
## Section for I2PControl protocol |
|
|
|
## Uncomment and set to 'true' to enable I2PControl protocol |
|
|
|
#[i2pcontrol] |
|
|
|
# enabled = false |
|
|
|
## The address to listen on |
|
|
|
## Address and port service will listen on |
|
|
|
#address = 127.0.0.1 |
|
|
|
# address = 127.0.0.1 |
|
|
|
## Port of I2P control service |
|
|
|
# port = 7650 |
|
|
|
#port = 7650 |
|
|
|
|
|
|
|