Skip to content

Commit

Permalink
Fix: start IPFS daemon with the server profile
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
odesenfans authored and hoh committed Aug 28, 2023
1 parent f1c0427 commit b9522f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packaging/aleph-vm/etc/systemd/system/ipfs.service
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b9522f4

Please sign in to comment.