# block China
echo "#!/bin/sh" >china2.sh
curl -s https://www.ipdeny.com/ipblocks/data/aggregated/cn-aggregated.zone >>china.sh
cat china.sh | while read line
do
# $line="$line{var ;*}"
echo iptables -A INPUT -s $line -j DROP >>china2.sh
echo iptables -A OUTPUT -s $line -j DROP >>china2.sh

done
chmod 777 china2.sh
sh china2.sh


# block China echo "#!/bin/sh" >china2.sh curl -s https://www.ipdeny.com/ipblocks/data/aggregated/cn-aggregated.zone >>china.sh cat china.sh | while read line do # $line="$line{var ;*}" echo iptables -A INPUT -s $line -j DROP >>china2.sh echo iptables -A OUTPUT -s $line -j DROP >>china2.sh done chmod 777 china2.sh sh china2.sh
0 Comments 0 Shares 185 Views
Sponsored

After a successful May, we are now funded 54% for June. Thanks to everyone who helped out. 🥰

Xephula monthly operating expenses for 2024 - Server: $143/month - Backup Software: $6/month - Object Storage: $6/month - SMTP Service: $10/month - Stripe Processing Fees: ~$10/month - Total: $175/month

Xephula Funding Meter

Please Donate Here

Sponsored
Quick Ships From Midwest • Trusted Source • High Quality Construction • Satisfaction Guaranteed