mirror of https://github.com/PurpleI2P/i2pd.git
I2P: End-to-End encrypted and anonymous Internet
https://i2pd.website/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
169 lines
4.8 KiB
169 lines
4.8 KiB
9 years ago
|
## 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.
|
||
|
|
||
9 years ago
|
## Tunnels config file
|
||
9 years ago
|
## Default: ~/.i2pd/tunnels.conf or /var/lib/i2pd/tunnels.conf
|
||
9 years ago
|
# tunconf = /var/lib/i2pd/tunnels.conf
|
||
9 years ago
|
|
||
|
## Where to write pidfile (don't write by default)
|
||
9 years ago
|
# pidfile = /var/run/i2pd.pid
|
||
9 years ago
|
|
||
|
## Logging configuration section
|
||
9 years ago
|
## By default logs go to stdout with level 'info' and higher
|
||
9 years ago
|
##
|
||
9 years ago
|
## 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
|
||
9 years ago
|
## Path to logfile (default - autodetect)
|
||
9 years ago
|
# logfile = /var/log/i2pd.log
|
||
9 years ago
|
## Log messages above this level (debug, *info, warn, error)
|
||
9 years ago
|
# loglevel = info
|
||
9 years ago
|
|
||
|
## Path to storage of i2pd data (RI, keys, peer profiles, ...)
|
||
|
## Default: ~/.i2pd or /var/lib/i2pd
|
||
9 years ago
|
# datadir = /var/lib/i2pd
|
||
9 years ago
|
|
||
|
## Daemon mode. Router will go to background after start
|
||
9 years ago
|
# daemon = true
|
||
9 years ago
|
## Run as a service. Router will use system folders like ‘/var/lib/i2pd’
|
||
9 years ago
|
# service = true
|
||
9 years ago
|
|
||
8 years ago
|
## Specify a family, router belongs to (default - none)
|
||
|
# family =
|
||
|
|
||
9 years ago
|
## External IP address to listen for connections
|
||
|
## By default i2pd sets IP automatically
|
||
9 years ago
|
# host = 1.2.3.4
|
||
|
|
||
9 years ago
|
## Port to listen for connections
|
||
9 years ago
|
## By default i2pd picks random port. You MUST pick a random number too,
|
||
9 years ago
|
## don't just uncomment this
|
||
9 years ago
|
# port = 4567
|
||
|
|
||
|
## Enable communication through ipv4
|
||
|
ipv4 = true
|
||
9 years ago
|
## Enable communication through ipv6
|
||
9 years ago
|
ipv6 = false
|
||
9 years ago
|
|
||
8 years ago
|
## Network interface to bind to
|
||
|
# ifname =
|
||
|
|
||
|
## Enable NTCP transport (default = true)
|
||
|
# ntcp = true
|
||
|
## Enable SSU transport (default = true)
|
||
|
# ssu = true
|
||
|
|
||
|
## Should we assume we are behind NAT? (false only in MeshNet)
|
||
|
# nat = true
|
||
|
|
||
9 years ago
|
## Bandwidth configuration
|
||
9 years ago
|
## 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
|
||
9 years ago
|
# bandwidth = L
|
||
9 years ago
|
|
||
|
## Router will not accept transit tunnels at startup
|
||
9 years ago
|
# notransit = true
|
||
9 years ago
|
|
||
|
## Router will be floodfill
|
||
9 years ago
|
# floodfill = true
|
||
9 years ago
|
|
||
9 years ago
|
[limits]
|
||
|
## Maximum active transit sessions (default:2500)
|
||
|
# transittunnels = 2500
|
||
|
|
||
|
[precomputation]
|
||
|
## Enable or disable elgamal precomputation table
|
||
|
## By default, enabled on i386 hosts
|
||
|
# elgamal = true
|
||
|
|
||
8 years ago
|
[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
|
||
|
|
||
|
[reseed]
|
||
8 years ago
|
## Enable or disable reseed data verification.
|
||
|
verify = true
|
||
8 years ago
|
## 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/
|
||
8 years ago
|
## Path to local reseed data file (.su3) for manual reseeding
|
||
8 years ago
|
# file = /path/to/i2pseeds.su3
|
||
8 years ago
|
## or HTTPS URL to reseed from
|
||
|
# file = https://legit-website.com/i2pseeds.su3
|
||
8 years ago
|
|
||
|
[addressbook]
|
||
|
## AddressBook subscription URL for initial setup
|
||
|
## Default: inr.i2p at "mainline" I2P Network
|
||
|
# defaulturl = http://joajgazyztfssty4w2on5oaqksz6tqoxbduy553y34mf4byv6gpq.b32.i2p/export/alive-hosts.txt
|
||
|
## Optional subscriptions URLs, separated by comma
|
||
|
# subscriptions = http://inr.i2p/export/alive-hosts.txt,http://stats.i2p/cgi-bin/newhosts.txt,http://rus.i2p/hosts.txt
|
||
8 years ago
|
|
||
9 years ago
|
[http]
|
||
9 years ago
|
## 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
|
||
9 years ago
|
|
||
|
[httpproxy]
|
||
9 years ago
|
## Uncomment and set to 'false' to disable HTTP Proxy
|
||
|
# enabled = true
|
||
|
## Address and port service will listen on
|
||
9 years ago
|
address = 127.0.0.1
|
||
|
port = 4444
|
||
9 years ago
|
## Optional keys file for proxy local destination
|
||
9 years ago
|
# keys = http-proxy-keys.dat
|
||
|
|
||
|
[socksproxy]
|
||
|
## Uncomment and set to 'false' to disable SOCKS Proxy
|
||
|
# enabled = true
|
||
|
## Address and port service will listen on
|
||
9 years ago
|
address = 127.0.0.1
|
||
|
port = 4447
|
||
9 years ago
|
## Optional keys file for proxy local destination
|
||
9 years ago
|
# keys = socks-proxy-keys.dat
|
||
9 years ago
|
|
||
9 years ago
|
## Socks outproxy. Example below is set to use Tor for all connections except i2p
|
||
9 years ago
|
## 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
|
||
|
|
||
9 years ago
|
[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
|
||
|
|
||
9 years ago
|
[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
|