Skip to content

Commit

Permalink
v7.5.8
Browse files Browse the repository at this point in the history
Fix IOT rules logic #140
  • Loading branch information
Adamm00 committed Feb 7, 2024
1 parent 4b25bd6 commit 99d8966
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions firewall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# #
# Router Firewall And Security Enhancements #
# By Adamm - https://github.com/Adamm00/IPSet_ASUS #
# 06/02/2024 - v7.5.7 #
# 07/02/2024 - v7.5.8 #
#############################################################################################################


Expand Down Expand Up @@ -538,9 +538,9 @@ Check_IPTables() {
if [ "$iotproto" = "all" ] || [ "$iotproto" = "udp" ]; then
iptables -C FORWARD -i br+ -m set --match-set Skynet-IOT src -o "$iface" -p udp -m udp --dport 123 -j ACCEPT 2>/dev/null || fail="${fail}#16 "
fi
fi
if [ "$iotproto" = "all" ] || [ "$iotproto" = "tcp" ]; then
iptables -C FORWARD -i br+ -m set --match-set Skynet-IOT src -o "$iface" -p tcp -m tcp --dport 123 -j ACCEPT 2>/dev/null || fail="${fail}#17 "
if [ "$iotproto" = "all" ] || [ "$iotproto" = "tcp" ]; then
iptables -C FORWARD -i br+ -m set --match-set Skynet-IOT src -o "$iface" -p tcp -m tcp --dport 123 -j ACCEPT 2>/dev/null || fail="${fail}#17 "
fi
fi
fi
if [ "$logmode" = "enabled" ]; then
Expand Down

0 comments on commit 99d8966

Please sign in to comment.