I have now an old router I am replacing it is an ASUS with IPv6 Passthrough.
I have both the providers router and this other network within, where a Windows machine get’s ipv6 traffic passed through without any problems.
I replace it with my new fully updated to 6.44.1 Mikrotik RB4011 router with ipv6 enabled and unfortunately nothing is passed through it doesn’t get an ipv6 address at all.
What are the minimal firewall rules and settings that would enable the same function as the ASUS’ passthrough achieves (with the providers modem in the same state too)?
Originally I tried getting a DHCPv6 Client to get the prefix but it’s stuck searching (without a static ipv6 registered with them). Alas the ASUS allows passthrough so now I see that’s not needed.
Therefore I don’t need to run DHCPv6 Server as those request seem to be “passed through”, that I guess doesn’t work anyway without the client even though I put the prefixes that the providers router gets.
These are the firewall rules I found in a post here but it nothing for default post install like the ipv4 gets/has.
/ipv6 firewall filter
add action=drop chain=input comment=“defconf: rfc4890 drop ll if hop-limit!=255” dst-address=fe80::/10 hop-limit=not-equal:255 protocol=icmpv6
add action=accept chain=input comment=“defconf: accept established,related,untracked” connection-state=established,related,untracked
add action=drop chain=input comment=“defconf: drop invalid” connection-state=invalid
add action=accept chain=input comment=“defconf: accept ICMPv6” protocol=icmpv6
add action=accept chain=input comment=“defconf: accept UDP traceroute” port=33434-33534 protocol=udp
add action=accept chain=input comment=“defconf: accept DHCPv6-Client prefix delegation.” dst-port=546 protocol=udp src-address=fe80::/16
add action=accept chain=input comment=“defconf: accept IKE” dst-port=500,4500 protocol=udp
add action=accept chain=input comment=“defconf: accept ipsec AH” protocol=ipsec-ah
add action=accept chain=input comment=“defconf: accept ipsec ESP” protocol=ipsec-esp
add action=drop chain=input comment=“defconf: drop everything else not coming from LAN” in-interface-list=!LAN
add action=accept chain=forward comment=“defconf: accept established,related,untracked” connection-state=established,related,untracked
add action=drop chain=forward comment=“defconf: drop invalid” connection-state=invalid
add action=drop chain=forward comment=“defconf: drop packets with bad src ipv6” src-address-list=bad_ipv6
add action=drop chain=forward comment=“defconf: drop packets with bad dst ipv6” dst-address-list=bad_ipv6
add action=drop chain=forward comment=“defconf: rfc4890 drop hop-limit=1” hop-limit=equal:1 protocol=icmpv6
add action=accept chain=forward comment=“defconf: accept ICMPv6” protocol=icmpv6
add action=accept chain=forward comment=“defconf: accept HIP” protocol=139
add action=accept chain=forward comment=“defconf: accept IKE” dst-port=500,4500 protocol=udp
add action=accept chain=forward comment=“defconf: accept ipsec AH” protocol=ipsec-ah
add action=accept chain=forward comment=“defconf: accept ipsec ESP” protocol=ipsec-esp
add action=drop chain=forward comment=“defconf: drop everything else not coming from LAN” in-interface-list=!LAN
And the settings
admin@MikroTik] > /ipv6 settings export
apr/02/2019 05:33:33 by RouterOS 6.44.1
software id = SGPV-6UCC
model = RB4011iGS+5HacQ2HnD
[admin@MikroTik] > /ipv6 settings
[admin@MikroTik] /ipv6 settings> print
forward: yes
accept-redirects: yes-if-forwarding-disabled
accept-router-advertisements: yes-if-forwarding-disabled
max-neighbor-entries: 8192
[admin@MikroTik] /ipv6 settings>
Am I missing a static ipv6 route or something?
Oh it looks like I’m getting ipv6 address on Windows now when I added the “Other Configuration” checkbox in thew ipv6 ND Neighbor Discovery .
[admin@MikroTik] /ipv6> nd print
Flags: X - disabled, I - invalid, * - default
0 * interface=all ra-interval=3m20s-10m ra-delay=3s mtu=unspecified reachable-time=unspecified retransmit-interval=unspecified ra-lifetime=30m
hop-limit=unspecified advertise-mac-address=yes advertise-dns=yes managed-address-configuration=no other-configuration=yes
[admin@MikroTik] /ipv6>
Unfortunately the http://test-ipv6.com/ other test I use fails NO IPv6 address but windows shows it does.
So I’m still missing something.
DNS yes or no makes no difference
It looks like when I turned off Other Config renew6 still has those IPv6 addresses so maybe something else is going on. It’s confusing this should work like passthrough does out of the box?