Created
January 13, 2023 10:53
-
-
Save MMTE/c4a4e96b6e87692fd03098a22dc106ad to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
curl https://www.arvancloud.ir/fa/ips.txt > ./r1c_ips.txt; | |
echo 'running......' | |
for x in `cat ./r1c_ips.txt`; | |
do | |
ufw allow from $x | |
done | |
ufw reload > /dev/null | |
# credit: https://betterstack.com/community/questions/whitelisting-better-uptime-ip-ufw/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment