Advertisement
smithy1208

Untitled

Mar 14th, 2021
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. /ipv6 firewall {
  2. address-list add list=bad_ipv6 address=::/128 comment="defconf: unspecified address"
  3. address-list add list=bad_ipv6 address=::1 comment="defconf: lo"
  4. address-list add list=bad_ipv6 address=fec0::/10 comment="defconf: site-local"
  5. address-list add list=bad_ipv6 address=::ffff:0:0/96 comment="defconf: ipv4-mapped"
  6. address-list add list=bad_ipv6 address=::/96 comment="defconf: ipv4 compat"
  7. address-list add list=bad_ipv6 address=100::/64 comment="defconf: discard only "
  8. address-list add list=bad_ipv6 address=2001:db8::/32 comment="defconf: documentation"
  9. address-list add list=bad_ipv6 address=2001:10::/28 comment="defconf: ORCHID"
  10. address-list add list=bad_ipv6 address=3ffe::/16 comment="defconf: 6bone"
  11. address-list add list=bad_ipv6 address=::224.0.0.0/100 comment="defconf: other"
  12. address-list add list=bad_ipv6 address=::127.0.0.0/104 comment="defconf: other"
  13. address-list add list=bad_ipv6 address=::/104 comment="defconf: other"
  14. address-list add list=bad_ipv6 address=::255.0.0.0/104 comment="defconf: other"
  15. filter add chain=forward action=drop src-address-list=bad_ipv6 comment="defconf: drop packets with bad src ipv6"
  16. filter add chain=forward action=drop dst-address-list=bad_ipv6 comment="defconf: drop packets with bad dst ipv6"
  17. /ipv6 firewall filter remove [find comment~"defconf"]
  18. /ipv6 firewall address-list remove [find comment~"defconf"]
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement