From b7bd209b5e21f818f533cd7f39e670088de0808f Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Fri, 15 Jan 2021 03:41:24 +0000 Subject: [PATCH] swann: forward IPFS ports to totoro --- ops/nixos/swann/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ops/nixos/swann/default.nix b/ops/nixos/swann/default.nix index 040da9651d..c9926fac82 100644 --- a/ops/nixos/swann/default.nix +++ b/ops/nixos/swann/default.nix @@ -67,6 +67,10 @@ in { { destination = "192.168.1.40:41641"; proto = "udp"; sourcePort = 41641; } { destination = "192.168.1.40:80"; proto = "tcp"; sourcePort = 80; } { destination = "192.168.1.40:443"; proto = "tcp"; sourcePort = 443; } + + # IPFS + { destination = "192.168.1.40:4001"; proto = "tcp"; sourcePort = 4001; } + { destination = "192.168.1.40:4001"; proto = "udp"; sourcePort = 4001; } ]; }; services.dhcpd4 = {