Skip to content

Instantly share code, notes, and snippets.

@xanoni
Last active August 19, 2021 08:20
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xanoni/c7d460a22856bc782fc11523b3a3926c to your computer and use it in GitHub Desktop.
Save xanoni/c7d460a22856bc782fc11523b3a3926c to your computer and use it in GitHub Desktop.
monerod: configure inbound I2P tunnel
# File: ~/.bitmonero/monerod.conf
[...]
tx-proxy=i2p,127.0.0.1:4447,25 # to send transactions via I2P
pad-transactions=1 # anti traffic analysis
# Get tunnel address for below line from /var/lib/i2pd/destinations
anonymous-inbound=<TUNNEL_ADDR>.b32.i2p:18084,127.0.0.1:18084,25
[...]
# File: /var/lib/i2pd/tunnels.conf.d/server-monerod.conf
[MONEROD-P2P]
type = server
host = 127.0.0.1
port = 18084
inport = 18084
keys = monerod-p2p-keys.dat
gzip = true
#inbound.length = 4
#outbound.length = 4
inbound.quantity = 25
outbound.quantity = 25
signaturetype = 7 # means signature type for new keys. 0 - DSA, 1- ECDSA-P256, 7 -EDDSA, 11 -RedDSA. 7 by default.
cryptotype = 0 # crypto type for new keys. Experimental. Should be always 0.
enableuniquelocal = true # if true, connection to local address will look like 127.x.x.x where x.x.x is first 3 bytes of incoming connection peer's ident hash. true by default.
#[MONEROD-RPC]
#type = server
#host = 127.0.0.1
#port = 18081
#inport = 18081
#keys = monerod-rpc-keys.dat
#accesslist = X
#gzip = true
#inbound.length = 4
#outbound.length = 4
#signaturetype = 7
#cryptotype = 0
#enableuniquelocal = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment