diff options
-rw-r--r-- | changelog.md | 4 | ||||
-rw-r--r-- | etc/nextcloudpi-config.d/UFW.sh | 12 |
2 files changed, 9 insertions, 7 deletions
diff --git a/changelog.md b/changelog.md index fb053a9e..5f98d799 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,7 @@ -[v0.43.1](https://github.com/nextcloud/nextcloudpi/commit/c3205f9) (2017-12-19) ncp-config: validate input +[v0.43.2](https://github.com/nextcloud/nextcloudpi/commit/113a1ab) (2017-12-19) UFW: prettier output + +[v0.43.1](https://github.com/nextcloud/nextcloudpi/commit/114ea18) (2017-12-19) ncp-config: validate input [v0.43.0 ](https://github.com/nextcloud/nextcloudpi/commit/9eeb221) (2017-12-18) added nc-audit diff --git a/etc/nextcloudpi-config.d/UFW.sh b/etc/nextcloudpi-config.d/UFW.sh index 25ccda0d..47a9003d 100644 --- a/etc/nextcloudpi-config.d/UFW.sh +++ b/etc/nextcloudpi-config.d/UFW.sh @@ -42,24 +42,24 @@ configure() systemctl enable ufw systemctl start ufw - echo "# web server rules" + echo -e "\n# web server rules" ufw allow $HTTP_/tcp ufw allow $HTTPS_/tcp ufw allow 4443/tcp - echo "# SSH rules" + echo -e "\n# SSH rules" ufw allow $SSH_ - echo "# DNS rules" + echo -e "\n# DNS rules" ufw allow dns - echo "# SAMBA rules" + echo -e "\n# SAMBA rules" ufw allow samba - echo "# NFS rules" + echo -e "\n# NFS rules" ufw allow nfs - echo "# UFW enabled" + echo "UFW enabled" } # License |