From 712e2c2d12b83689bbbf9f3a1c40cae1d59de76c Mon Sep 17 00:00:00 2001 From: Colin Date: Mon, 27 Nov 2023 01:18:45 +0000 Subject: [PATCH] monero: forward port 18080 --- hosts/by-name/servo/services/monero.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hosts/by-name/servo/services/monero.nix b/hosts/by-name/servo/services/monero.nix index 1c44e8bc5..8899058ce 100644 --- a/hosts/by-name/servo/services/monero.nix +++ b/hosts/by-name/servo/services/monero.nix @@ -25,4 +25,13 @@ # tor.client.enable configures a torsocks proxy, accessible *only* to localhost. services.tor.enable = true; services.tor.client.enable = true; + + # monero ports: + # - 18080 = "P2P" monero node <-> monero node connections + # - 18081 = "RPC" monero client -> monero node connections + sane.ports.ports."18080" = { + protocol = [ "tcp" ]; + visibleTo.wan = true; + description = "colin-monero-p2p"; + }; }