From cfaa9a2ec10785c62eabd8225df2b6f4d742dc09 Mon Sep 17 00:00:00 2001 From: TommyTran732 <57488583+tommytran732@users.noreply.github.com> Date: Thu, 2 Jan 2020 18:08:14 -0500 Subject: [PATCH] Update cloudflare.sh --- cloudflare.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloudflare.sh b/cloudflare.sh index ceb7954..2084842 100644 --- a/cloudflare.sh +++ b/cloudflare.sh @@ -23,8 +23,8 @@ if [ "$lsb_dist" = "ubuntu" ] || [ "$lsb_dist" = "debian" ]; then for ips in `cat ips-v4`; do - ufw allow from $ips to any proto ipv6 port 80 - ufw allow from $ips to any proto ipv6 port 443 + ufw allow from $ips to any proto tcp port 80 + ufw allow from $ips to any proto tcp port 443 done yes | ufw enable