Skip to content

Instantly share code, notes, and snippets.

@haydio
Forked from tiernano/gist:4344701
Last active April 2, 2017 07:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save haydio/647d530638bf8f4fdcdb to your computer and use it in GitHub Desktop.
Save haydio/647d530638bf8f4fdcdb to your computer and use it in GitHub Desktop.
RouterOS IPv6 Firewall Rules
/ipv6 firewall filter
add action=accept chain=input comment="Allow established connections" connection-state=established disabled=no
add action=accept chain=input comment="Allow related connections" connection-state=related disabled=no
add action=accept chain=input comment="Allow ICMP" disabled=no protocol=icmpv6
add action=accept chain=input comment="Allow UDP" disabled=no protocol=udp
add action=drop chain=input comment="" disabled=no
add action=accept chain=forward comment="Allow any to internet" disabled=no out-interface=sit1
add action=accept chain=forward comment="Allow established connections" connection-state=established disabled=no
add action=accept chain=forward comment="Allow related connections" connection-state=related disabled=no
add action=accept chain=forward comment="Allow ICMP" disabled=no protocol=icmpv6
add action=drop chain=forward comment="" disabled=no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment