-
-
Save lucamaraschi/46bfc11ab7bedce70101307ee9713f6b to your computer and use it in GitHub Desktop.
edgerouter ipv6 config for telus fibre one
This file contains hidden or 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
# current as of edgeos v1.10.5 | |
# cobbled together from: | |
# https://medium.com/@nurblieh/ipv6-on-the-edgerouter-lite-c95e3cc8d49d | |
# https://heald.ca/configuring-telus-optik-ipv6-ubiquiti-edgerouter/ | |
configure | |
edit firewall ipv6-name WANv6_IN | |
set default-action drop | |
set rule 10 action accept | |
set rule 10 description "allow established" | |
set rule 10 protocol all | |
set rule 10 state established enable | |
set rule 10 state related enable | |
set rule 20 action drop | |
set rule 20 description "drop invalid packets" | |
set rule 20 protocol all | |
set rule 20 state invalid enable | |
set rule 30 action accept | |
set rule 30 description "allow ICMPv6" | |
set rule 30 protocol icmpv6 | |
top | |
edit firewall ipv6-name WANv6_LOCAL | |
set default-action drop | |
set rule 10 action accept | |
set rule 10 description "allow established" | |
set rule 10 protocol all | |
set rule 10 state established enable | |
set rule 10 state related enable | |
set rule 20 action drop | |
set rule 20 description "drop invalid packets" | |
set rule 20 protocol all | |
set rule 20 state invalid enable | |
set rule 30 action accept | |
set rule 30 description "allow ICMPv6" | |
set rule 30 protocol icmpv6 | |
set rule 40 action accept | |
set rule 40 description "allow DHCPv6 client/server" | |
set rule 40 destination port 546 | |
set rule 40 source port 547 | |
set rule 40 protocol udp | |
top | |
set interfaces ethernet eth0 firewall in ipv6-name WANv6_IN | |
set interfaces ethernet eth0 firewall local ipv6-name WANv6_LOCAL | |
set interfaces ethernet eth0 dhcpv6-pd prefix-only | |
set interfaces ethernet eth0 dhcpv6-pd rapid-commit enable | |
set interfaces ethernet eth0 dhcpv6-pd pd 0 prefix-length 56 | |
set interfaces ethernet eth0 dhcpv6-pd pd 0 interface eth1 prefix-id :0 | |
set interfaces ethernet eth0 dhcpv6-pd pd 0 interface eth1 service slaac | |
set interfaces ethernet eth0 ipv6 router-advert managed-flag true | |
set interfaces ethernet eth0 ipv6 dup-addr-detect-transmits 1 | |
commit | |
# check if you get an ipv6 address on eth1, if all is good then run `save` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment