Skip to content

Commit

Permalink
remove rule covered blready by chain policy
Browse files Browse the repository at this point in the history
  • Loading branch information
toralf committed Dec 21, 2024
1 parent febac3a commit ff4cdf8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion ipv4-rules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ function addCommon() {

# ratelimit ICMP echo
$ipt -A INPUT -p icmp --icmp-type echo-request -m limit --limit 6/s -j ACCEPT
$ipt -A INPUT -p icmp --icmp-type echo-request -j $jump

# DHCPv4
$ipt -A INPUT -p udp --dport 68 -j ACCEPT
Expand Down
1 change: 0 additions & 1 deletion ipv6-rules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ function addCommon() {

# ratelimit ICMP echo
$ipt -A INPUT -p ipv6-icmp --icmpv6-type echo-request -m limit --limit 6/s -j ACCEPT
$ipt -A INPUT -p ipv6-icmp --icmpv6-type echo-request -j $jump
$ipt -A INPUT -p ipv6-icmp -j ACCEPT

# DHCPv6
Expand Down

0 comments on commit ff4cdf8

Please sign in to comment.