ip6tables.rules 532 B

1234567891011121314151617181920
  1. *filter
  2. # default policy is DROP
  3. -P INPUT DROP
  4. -P OUTPUT DROP
  5. -P FORWARD DROP
  6. # allow ICMPv6 neighbor-solicitations
  7. -A INPUT -p icmpv6 --icmpv6-type neighbor-solicitation -j ACCEPT
  8. -A OUTPUT -p icmpv6 --icmpv6-type neighbor-solicitation -j ACCEPT
  9. # allow ICMPv6 neighbor-advertisements
  10. -A INPUT -p icmpv6 --icmpv6-type neighbor-advertisement -j ACCEPT
  11. -A OUTPUT -p icmpv6 --icmpv6-type neighbor-advertisement -j ACCEPT
  12. # log dropped packets
  13. -A INPUT -j LOG --log-prefix " IN: "
  14. -A OUTPUT -j LOG --log-prefix " OUT: "
  15. COMMIT