From b9522f4d3abf8b3716756b1233e1189a887c4d77 Mon Sep 17 00:00:00 2001 From: Olivier Desenfans Date: Sun, 30 Jul 2023 14:19:12 +0200 Subject: [PATCH] Fix: start IPFS daemon with the server profile Problem: in normal mode, the IPFS daemon advertises itself with private addresses. Some cloud providers do not like this at all and will send abuse notices related to port scanning. Solution: start the daemon with the server profile, which only advertises the node with public addresses and avoids port scanning. --- packaging/aleph-vm/etc/systemd/system/ipfs.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/aleph-vm/etc/systemd/system/ipfs.service b/packaging/aleph-vm/etc/systemd/system/ipfs.service index f3506a275..914593bcf 100644 --- a/packaging/aleph-vm/etc/systemd/system/ipfs.service +++ b/packaging/aleph-vm/etc/systemd/system/ipfs.service @@ -39,7 +39,7 @@ TimeoutStartSec=infinity Type=notify StateDirectory=ipfs Environment=IPFS_PATH="${HOME}" -ExecStart=/opt/kubo/ipfs daemon --init --migrate +ExecStart=/opt/kubo/ipfs daemon --init --init-profile=server --migrate Restart=on-failure KillSignal=SIGINT