English Spanish
{% include disclaimer.html translated="no" translationOutdated="no" %} {% include disclaimer.html translated="no" translationOutdated="no" %}
## Steps: ## Pasos:
Download the [Monero CLI]({{ site.baseurl }}/downloads/#cli). Descarga la [CLI de Monero]({{ site.baseurl }}/downloads/#cli).
Run I2P-zero by entering the i2p-zero unzipped directory and typing: `router/bin/i2p-zero` Ejecuta I2P-zero ingresando el directorio i2p-zero descomprimido y escribiendo: `router/bin/i2p-zero`
(optional) Find out your randomly assigned I2P port by typing: `router/bin/tunnel-control.sh router.externalPort`. For privacy reasons, do not disclose this port number to other people. Tell your firewall to forward traffic through to this port so that your I2P node is publicly reachable. If you have no ability to allow incoming connections, everything will still work, but your I2P node will not be helping the I2P network as much as it could. (opcional) Averigua el puerto I2P que te fue asignado de manera aleatoria escribiendo: `router/bin/tunnel-control.sh router.externalPort`. Por razones de privacidad, no reveles este número de puerto a otras personas. Ordénale a tu firewall que redireccione el tráfico a través de este puerto para que tu nodo I2P sea públicamente accesible. Si no tienes la habilidad para permitir conexiones entrantes, todo funcionará de igual manera, pero tu nodo I2P no ayudará a la red I2P tanto como podría.
Create a socks tunnel for outgoing I2P connections by typing: `router/bin/tunnel-control.sh socks.create 8060` Crea un túnel socks para las conexiones I2P salientes escribiendo: `router/bin/tunnel-control.sh socks.create 8060`
Create a server tunnel for incoming I2P connections by typing: `router/bin/tunnel-control.sh server.create 127.0.0.1 8061`. Crea un servidor túnel para las conexiones I2P entrantes escribiendo: `router/bin/tunnel-control.sh server.create 127.0.0.1 8061`.
The command above will result in an I2P address being printed to the command line, which will end with `.b32.i2p`. This is your new I2P address. El comando de arriba provocará que se imprima una dirección I2P en la línea de comandos, que terminará en `.b32.i2p`. Esta es tu nueva dirección I2P.
Run monerod by typing the following, replacing `XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.b32.i2p` with your own I2P address that was printed from step 6: `monerod --tx-proxy i2p,127.0.0.1:8060 --add-peer core5hzivg4v5ttxbor4a3haja6dssksqsmiootlptnsrfsgwqqa.b32.i2p --add-peer dsc7fyzzultm7y6pmx2avu6tze3usc7d27nkbzs5qwuujplxcmzq.b32.i2p --add-peer sel36x6fibfzujwvt4hf5gxolz6kd3jpvbjqg6o3ud2xtionyl2q.b32.i2p --add-peer yht4tm2slhyue42zy5p2dn3sft2ffjjrpuy7oc2lpbhifcidml4q.b32.i2p --anonymous-inbound XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.b32.i2p,127.0.0.1:8061 --detach` Ejecuta monerod escribiendo lo siguiente, reemplazando `XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.b32.i2p` con tu propia dirección I2P que fue impresa en el paso 6: `monerod --tx-proxy i2p,127.0.0.1:8060 --add-peer core5hzivg4v5ttxbor4a3haja6dssksqsmiootlptnsrfsgwqqa.b32.i2p --add-peer dsc7fyzzultm7y6pmx2avu6tze3usc7d27nkbzs5qwuujplxcmzq.b32.i2p --add-peer sel36x6fibfzujwvt4hf5gxolz6kd3jpvbjqg6o3ud2xtionyl2q.b32.i2p --add-peer yht4tm2slhyue42zy5p2dn3sft2ffjjrpuy7oc2lpbhifcidml4q.b32.i2p --anonymous-inbound XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.b32.i2p,127.0.0.1:8061 --detach`
## Setting up Linux services so that monerod and I2P-zero are automatically started ## Configurar servicios de Linux para que I2P-zero y monerod se inicien automáticamente.
If you are running Linux, it would be useful to set this all up to run automatically if the machine is ever rebooted. You can do this by creating systemd service files: Si estás corriendo Linux, sería útil que configures todo esto para que corra automáticamente por si la máquina alguna vez es reiniciada. Puedes hacer este creando archivos de servicio systemd:
Note: take care to replace version numbers in the files below with the version numbers of monero and i2p-zero that you download. Also replace `<username>` and `<usergroup>` with your Linux user and group names (use `whoami` and `groups` commands if you don't know them). Nota: ten cuidado de reemplazar los números de la versión en los archivos debajo con los números de la versión de i2p-zero y monero que descargastes. También reemplaza `<username>` y `<usergroup>` con tus nombres de usuario y grupo de Linux (usa los comandos `whoami` y `groups` si no los conoces).
### /etc/systemd/system/i2pzero.service ### /etc/systemd/system/i2pzero.service
````
[Unit]
Description=i2pzero
After=network.target
````
[Unit]
Description=i2pzero
After=network.target
[Service] Type=simple ExecStart=/home/<username>/i2p-zero-linux.v1.17/router/bin/i2p-zero User=<username> Group=<usergroup> [Service] Type=simple ExecStart=/home/<username>/i2p-zero-linux.v1.17/router/bin/i2p-zero User=<username> Group=<usergroup>
[Install] WantedBy=multi-user.target ```` [Install] WantedBy=multi-user.target ````
### /etc/systemd/system/monerod.service ### /etc/systemd/system/monerod.service
```` [Unit] Description=monerod After=network.target ```` [Unit] Description=monerod After=network.target
[Service] Type=forking PIDFile=/home/<username>/monerod.pid ExecStart=/home/<username>/monero-x86_64-linux-gnu-v0.16.0.0/monerod --tx-proxy i2p,127.0.0.1:8060 --add-peer core5hzivg4v5ttxbor4a3haja6dssksqsmiootlptnsrfsgwqqa.b32.i2p --add-peer dsc7fyzzultm7y6pmx2avu6tze3usc7d27nkbzs5qwuujplxcmzq.b32.i2p --add-peer sel36x6fibfzujwvt4hf5gxolz6kd3jpvbjqg6o3ud2xtionyl2q.b32.i2p --add-peer yht4tm2slhyue42zy5p2dn3sft2ffjjrpuy7oc2lpbhifcidml4q.b32.i2p --anonymous-inbound XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.b32.i2p,127.0.0.1:8061 --detach --pidfile /home/<username>/monerod.pid User=<username> Group=<usergroup> [Service] Type=forking PIDFile=/home/<username>/monerod.pid ExecStart=/home/<username>/monero-x86_64-linux-gnu-v0.16.0.0/monerod --tx-proxy i2p,127.0.0.1:8060 --add-peer core5hzivg4v5ttxbor4a3haja6dssksqsmiootlptnsrfsgwqqa.b32.i2p --add-peer dsc7fyzzultm7y6pmx2avu6tze3usc7d27nkbzs5qwuujplxcmzq.b32.i2p --add-peer sel36x6fibfzujwvt4hf5gxolz6kd3jpvbjqg6o3ud2xtionyl2q.b32.i2p --add-peer yht4tm2slhyue42zy5p2dn3sft2ffjjrpuy7oc2lpbhifcidml4q.b32.i2p --anonymous-inbound XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.b32.i2p,127.0.0.1:8061 --detach --pidfile /home/<username>/monerod.pid User=<username> Group=<usergroup>
After creating these two files, run: ```` systemctl daemon-reload service i2pzero start service monerod start ```` Luego de crear estos dos archivos, ejecuta: ```` systemctl daemon-reload service i2pzero start service monerod start ````