Skip to content

Commit 9f658ab

Browse files
committed
Merge pull request #3179 from ineu/iptables-port-unreachable
ref(security): REJECT target uses port-unreachable
2 parents 67b3566 + f106dc9 commit 9f658ab

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

contrib/util/custom-firewall.sh

100644100755
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ template=$(cat <<EOF
4242
4343
# Log and drop everything else
4444
-A Firewall-INPUT -j LOG
45-
-A Firewall-INPUT -j REJECT --reject-with icmp-host-prohibited
45+
-A Firewall-INPUT -j REJECT
4646
4747
COMMIT
4848
EOF
@@ -65,4 +65,3 @@ echo "Loading custom iptables firewall"
6565
sudo /sbin/iptables-restore --noflush /var/lib/iptables/rules-save
6666

6767
echo "Done"
68-

0 commit comments

Comments
 (0)