From e4628cbf8ca90f300e74d6f9582ef3c3eb5c8e34 Mon Sep 17 00:00:00 2001 From: Konrad Baechler Date: Wed, 22 Apr 2020 11:56:37 +0200 Subject: [PATCH] Reviewed i2pd.conf: as close as possible to i2pd v2.31.0 --- conf/i2pd.conf | 58 +++++++++++++++++++++----------------------------- 1 file changed, 24 insertions(+), 34 deletions(-) diff --git a/conf/i2pd.conf b/conf/i2pd.conf index ae7e4b8..54f88a0 100644 --- a/conf/i2pd.conf +++ b/conf/i2pd.conf @@ -13,7 +13,7 @@ tunconf = /home/i2pd/tunnels.conf ## 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 = +# tunnelsdir = /var/lib/i2pd/tunnels.conf.d ## Where to write pidfile (don't write by default) # pidfile = /var/run/i2pd.pid @@ -62,46 +62,36 @@ ipv6 = false # ifname6 = ## Enable NTCP transport (default = true) -ntcp = true +# ntcp = true ## If you run i2pd behind a proxy server, you can only use NTCP transport with ntcpproxy option ## Should be http://address:port or socks://address:port # ntcpproxy = http://127.0.0.1:8118 ## Enable SSU transport (default = true) -ssu = true +# ssu = true ## Should we assume we are behind NAT? (false only in MeshNet) -nat = true +# nat = true ## Bandwidth configuration ## 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 -bandwidth = P +# bandwidth = L ## Max % of bandwidth limit for transit. 0-100. 100 by default -share = 80 +# share = 100 ## Router will not accept transit tunnels, disabling transit traffic completely ## (default = false) -notransit = false +# notransit = true ## Router will be floodfill -floodfill = false - -[ntcp2] -## set to 'false' to disable NTCP2 -enabled = true -## set to 'false' to disable publishing, see https://geti2p.net/spec/ntcp2#published-router-info -published = true -## Port to listen for incoming NTCP2 connections (default: auto) -# port = auto -## IPv6, External IPv6 for incoming connections -# addressv6 = +# floodfill = true [http] ## Web Console settings ## Uncomment and set to 'false' to disable Web Console -enabled = true -## Address and port service will listen on, like 127.0.0.1 +# enabled = true +## Address and port service will listen on address = 0.0.0.0 port = 7070 strictheaders = false @@ -114,26 +104,26 @@ strictheaders = false [httpproxy] ## Uncomment and set to 'false' to disable HTTP Proxy -enabled = true +# enabled = true ## Address and port service will listen on, like 127.0.0.1 address = 0.0.0.0 -port = 4440 +port = 4444 ## Optional keys file for proxy local destination -keys = http-proxy-keys.dat +# keys = http-proxy-keys.dat ## Enable address helper for adding .i2p domains with "jump URLs" (default: true) -addresshelper = false +# 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. [socksproxy] ## Uncomment and set to 'false' to disable SOCKS Proxy -enabled = true +# enabled = true ## Address and port service will listen on, like 127.0.0.1 address = 0.0.0.0 -port = 4450 +port = 4447 ## Optional keys file for proxy local destination -keys = socks-proxy-keys.dat +# keys = socks-proxy-keys.dat ## 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 @@ -144,28 +134,28 @@ keys = socks-proxy-keys.dat [sam] ## Uncomment and set to 'true' to enable SAM Bridge -enabled = false -## Address and port service will listen on, like 127.0.0.1 +# 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 +# enabled = false ## Address and port service will listen on # address = 127.0.0.1 # port = 2827 [i2cp] ## Uncomment and set to 'true' to enable I2CP protocol -enabled = false +# enabled = false ## Address and port service will listen on # address = 127.0.0.1 # port = 7654 [i2pcontrol] ## Uncomment and set to 'true' to enable I2PControl protocol -enabled = false +# enabled = false ## Address and port service will listen on # address = 127.0.0.1 # port = 7650 @@ -179,7 +169,7 @@ enabled = false [upnp] ## Enable or disable UPnP: automatic port forwarding (enabled by default in WINDOWS, ANDROID) -enabled = false +# enabled = false ## Name i2pd appears in UPnP forwardings list (default = I2Pd) # name = I2Pd @@ -224,7 +214,7 @@ subscriptions = http://auoqibfnyujhcht4v3nzahpqztwlyomesfywltuls5bqqi3nd3ka.b32. [trust] ## Enable explicit trust options. false by default -enabled = false +# 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.