From 469c1de6a90d385696bba63b3defb077ca3d2bed Mon Sep 17 00:00:00 2001 From: Jonas Nick Date: Sun, 28 Apr 2019 18:54:13 +0000 Subject: [PATCH] Fix electrum after disallowing anything but localhost by adding ipv6 local address --- modules/nix-bitcoin-services.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/nix-bitcoin-services.nix b/modules/nix-bitcoin-services.nix index c3607cd..ac687cc 100644 --- a/modules/nix-bitcoin-services.nix +++ b/modules/nix-bitcoin-services.nix @@ -24,7 +24,9 @@ in # node applications apparently rely on memory write execute node = { MemoryDenyWriteExecute = "false"; }; # Allow tor traffic. Allow takes precedence over Deny. - allowTor = { IPAddressAllow = "127.0.0.1/32"; }; + allowTor = { + IPAddressAllow = "127.0.0.1/32 ::1/128"; + }; # Allow any traffic allowAnyIP = { IPAddressAllow = "any"; };