diff --git a/cloudflare.sh b/cloudflare.sh index 9579109..0127f3f 100644 --- a/cloudflare.sh +++ b/cloudflare.sh @@ -14,8 +14,8 @@ get_ports(){ } output "Cloudflare IPWhitelist Script" -output "Copyright © 2020 Thien Tran ." -output "Support: https://thientran.io/discord" +output "Copyright © 2021 Thien Tran ." +output "Support: https://matrix.to/#/#tommytran732:matrix.org" output "" output "Enter the list of ports you want opened, separated by a space." @@ -63,7 +63,7 @@ if [ "$lsb_dist" = "ubuntu" ] || [ "$lsb_dist" = "debian" ]; then yes | ufw enable elif [ "$lsb_dist" = "fedora" ] || [ "$lsb_dist" = "rhel" ] || [ "$lsb_dist" = "centos" ] || [ "$lsb_dist" = "opensuse" ]; then - if [ "$lsb_dist" = "fedora" ] || [ "$lsb_dist" = "rhel" ] || [ "$lsb_dist" = "centos" ]; then + if [ "$lsb_dist" = "fedora" ] || [ "$lsb_dist" = "rhel" ] || [ "$lsb_dist" = "centos" ] || [ "$lsb_dist" = "opensuse" ]; then yum -y install firewalld wget elif [ "$lsb_dist" = "opensuse" ]; then zypper in firewalld wget -y