-
-
Save dluciv/2ac78daefee60b433aea3522afbfe329 to your computer and use it in GitHub Desktop.
RouterOS IPv6 Firewall Rules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/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
Above script is for 6in4.
For 6to4, replace
sit1
withipng-tunnel
.