From f08095eeb9d36ced5f69bf4af7c6f552974cd4c4 Mon Sep 17 00:00:00 2001 From: fossilfranv Date: Sun, 19 Mar 2023 22:12:51 +0100 Subject: [PATCH] Update 'blockrussia.sh' --- blockrussia.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blockrussia.sh b/blockrussia.sh index 8abdba5..a374fc2 100644 --- a/blockrussia.sh +++ b/blockrussia.sh @@ -5,5 +5,5 @@ my_file=$(cat russia.txt |grep -v "#") /sbin/ipset -q create russia hash:net for row_data in $my_file; do /sbin/ipset add russia ${row_data}; done /sbin/iptables -I INPUT -m set --match-set russia src -j DROP -/sbin/iptables -A FORWARD -p tcp --dport 443 -m set --match-set russia dst -j DROP -/sbin/iptables -A FORWARD -p tcp --dport 80 -m set --match-set russia dst -j DROP \ No newline at end of file +/sbin/iptables -A FORWARD -p tcp --dport 0:65535 -m set --match-set russia dst -j DROP +#/sbin/iptables -A FORWARD -p tcp --dport 80 -m set --match-set russia dst -j DROP \ No newline at end of file