From 17c46bd8eaca267c2bd7fe42be52bb77296039f4 Mon Sep 17 00:00:00 2001 From: David Uhden Collado <149145202+daviduhden@users.noreply.github.com> Date: Sat, 15 Jun 2024 04:36:49 +0200 Subject: Update monerod.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use different ports for the proxies to the hidden services in Tor and I2P. Otherwise it is impossible for the node to work and you will always get the error “Failed to bind IPv4 (set to required)”. --- content/monerod.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'content/monerod.md') diff --git a/content/monerod.md b/content/monerod.md index 5e00645..b6bcca5 100644 --- a/content/monerod.md +++ b/content/monerod.md @@ -122,9 +122,9 @@ Edit `/etc/tor/torrc` and add the following: HiddenServiceDir /var/lib/tor/monerod # For wallets connecting over RPC: -HiddenServicePort 18081 127.0.0.1:18081 +HiddenServicePort 18081 127.0.0.1:18181 # For other nodes: -HiddenServicePort 18083 127.0.0.1:18083 +HiddenServicePort 18083 127.0.0.1:18183 ``` Now restart Tor: @@ -145,13 +145,13 @@ Edit `tunnels.conf` (Which may be located in `/home/i2p/.i2pd/` if you followed [monerod] type = http host = 127.0.0.1 -port = 18083 +port = 18283 keys = monerod.dat [monerod-rpc] type = http host = 127.0.0.1 -port = 18081 +port = 18281 keys = monerod-rpc.dat ``` @@ -171,13 +171,13 @@ printf "%s.b32.i2p Then, in `/etc/monerod.conf`, add the following: ```sh -# I2P config -tx-proxy=i2p,127.0.0.1:4447 -anonymous-inbound={{}}your-i2p-address-here.b32.i2p{{}}:80,127.0.0.1:18083,16 # Maximum 16 simultaneous connections - # Tor config tx-proxy=tor,127.0.0.1:9050,10 -anonymous-inbound={{}}your-tor-address-here.onion{{}}:18083,127.0.0.1:18083,16 +anonymous-inbound={{}}your-tor-address-here.onion{{}}:18083,127.0.0.1:18183,16 + +# I2P config +tx-proxy=i2p,127.0.0.1:4447 +anonymous-inbound={{}}your-i2p-address-here.b32.i2p{{}}:80,127.0.0.1:18283,16 # Maximum 16 simultaneous connections ``` ## Running the Node -- cgit v1.2.3