Skip to content

Commit

Permalink
UFW: prettier output
Browse files Browse the repository at this point in the history
  • Loading branch information
nacho committed Dec 19, 2017
1 parent 114ea18 commit ae8d30b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
12 changes: 6 additions & 6 deletions etc/nextcloudpi-config.d/UFW.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ae8d30b

Please sign in to comment.