cleanup script

This commit is contained in:
Cory Schwartz 2021-12-17 17:49:32 -08:00
parent a03e9e34ab
commit d53a9e877a
2 changed files with 6 additions and 0 deletions

View File

@ -32,8 +32,12 @@ snap alias lotus-filecoin.lotus lotus
snap alias lotus-filecoin.lotus-miner lotus-miner
snap alias lotus-filecoin.lotus-miner lotus-worker
snap stop lotus-filecoin.lotus-daemon
# Setup firewall
yes | ufw enable
ufw default deny incoming
ufw default allow outgoing
ufw allow ssh
curl -L https://raw.githubusercontent.com/digitalocean/marketplace-partners/master/scripts/90-cleanup.sh | bash

View File

@ -65,3 +65,5 @@ ufw default deny incoming
ufw default allow outgoing
ufw allow ssh
ufw allow 5678 #libp2p
curl -L https://raw.githubusercontent.com/digitalocean/marketplace-partners/master/scripts/90-cleanup.sh | bash