From 2fdcf8b130bc0644a193b9de0f9a4ec301ae5880 Mon Sep 17 00:00:00 2001 From: HardenedSteel Date: Sat, 4 May 2024 20:40:14 +0000 Subject: [PATCH 1/2] Create monero tutorials Co-authored-by: nahuhh <50635951+nahuhh@users.noreply.github.com> --- docs/tutorials/monero.md | 71 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 docs/tutorials/monero.md diff --git a/docs/tutorials/monero.md b/docs/tutorials/monero.md new file mode 100644 index 0000000..3fa6fbb --- /dev/null +++ b/docs/tutorials/monero.md @@ -0,0 +1,71 @@ +Monero +================== + +## Connect to remote nodes. + +To connect Monero nodes, you have to configure the wallet software: + +In [Feather wallet](http://rwzulgcql2y3n6os2jhmhg6un2m33rylazfnzhf56likav47aylq.b32.i2p/): File -> Settings -> Network -> Proxy > i2p, with this option all network traffic will be routed over i2p, including websocket connection (if enabled). + +## Connection between other I2P nodes. + +Warning: The usage of I2P network is still considered experimental; + +Sync the blockchain over I2P isn't supported and there are a few pessimistic cases where privacy is leaked. + +The design is intended to maximize privacy of the source of a transaction by broadcasting it over an anonymity network, while relying on clearnet for the remainder of messages to make surrounding node attacks (via sybil) more difficult. + + +1) Configure i2pd to create server type tunnel and put in your `./tunnels.conf` file: + + [monero-node] + type = server + host = 127.0.0.1 + port = 18085 # Anonymous inbound port + keys = monero-node.dat + +2) Restart i2pd or send `SIGHUP` signal. + +3) Find your b32 address of the node. + + Go to webconsole -> [I2P tunnels page](http://127.0.0.1:7070/?page=i2p_tunnels). Look for Server tunnels and you will see address like \.b32.i2p next to monero-node. + Or get with curl: `curl http://127.0.0.1:7070/?page=i2p_tunnels 2>&1 | grep -Eo "[a-zA-Z0-9./?=_%:-]*" | grep "18085"` + + The node is now available in Invisible Internet. You can check the node's status by visiting \.b32.i2p/get_info. + +4) Update your monero.conf file; + + anonymous-inbound=XXX.b32.i2p,127.0.0.1:18085 + tx-proxy=i2p,127.0.0.1:4447,disable_noise + +Replace XXX with your b32 address. + + +## Setup I2P service on already running public node. + +Open wallet inteface (the "RPC") allows anyone to connect their wallets to Monero network through the node. This is useful for users who don't run their own nodes and connecting over i2p. + +If you already have a node with public RPC and now want to run i2p service, follow those steps: + +1) Make sure the node is already configured for public use and running. (For an example you setted up `monero.conf` such as `public-node=1` with `restricted-rpc=1`) + +2) Configure i2pd to create server type tunnel and put in your `./tunnels.conf` file: + + [monero-node-rpc] + type = server + host = 127.0.0.1 + port = 18089 # Restricted RPC port + keys = monero-node-rpc.dat # or same key file with P2P if you want one and same address. + +3) Restart i2pd or send `SIGHUP` signal. + +4) Find your b32 address of the node. + + Go to webconsole -> [I2P tunnels page](http://127.0.0.1:7070/?page=i2p_tunnels). Look for Server tunnels and you will see address like \.b32.i2p next to monero-node. + Or get with curl: `curl http://127.0.0.1:7070/?page=i2p_tunnels 2>&1 | grep -Eo "[a-zA-Z0-9./?=_%:-]*" | grep "18089"` + + The node is now available in Invisible Internet. You can check the node's status by visiting \.b32.i2p/get_info. + +6) (Optional) Register short and memorable .i2p domain on [reg.i2p](http://reg.i2p). + +7) (Optional) Publish the node on [monero.fail](https://monero.fail). From 673a2b157d057e327ab164bca6bbd20e18f8aa74 Mon Sep 17 00:00:00 2001 From: HardenedSteel Date: Mon, 12 Aug 2024 23:07:40 +0000 Subject: [PATCH 2/2] Update docs/tutorials/monero.md Co-authored-by: nahuhh <50635951+nahuhh@users.noreply.github.com> --- docs/tutorials/monero.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/monero.md b/docs/tutorials/monero.md index 3fa6fbb..6e8167e 100644 --- a/docs/tutorials/monero.md +++ b/docs/tutorials/monero.md @@ -47,7 +47,7 @@ Open wallet inteface (the "RPC") allows anyone to connect their wallets to Moner If you already have a node with public RPC and now want to run i2p service, follow those steps: -1) Make sure the node is already configured for public use and running. (For an example you setted up `monero.conf` such as `public-node=1` with `restricted-rpc=1`) +1) Make sure the node is running and configured with a restricted rpc port by adding `rpc-restricted-bind-port=18089` to your monerod startup flags or config file. 2) Configure i2pd to create server type tunnel and put in your `./tunnels.conf` file: