I am struggling to get IPv6 work with my L2TP server and I was hoping someone could advise.
I have a network with a router running Mikrotik version 6.35. IPv6 functions correctly within the network using SLAAC addresses. My L2TP clients connect successfully but only ever receive a link local ipv6 address. I have switched ipv6 to yes in the PPP profile and configured a /64 prefix pool but clients never receive an address other than link local.
Is there anything I can do to troubleshoot this issue? Does mikrotik 6.35 even support giving IPv6 addresses to L2tp clients?
IPv6 over IPSec/L2TP works well, it gives you prefix, but not address, so it’s suitable for travel router that will share the prefix for you. The trick is in L2TP server’s default IPv6 firewall rules:
/ipv6 firewall filter
…
add action=drop chain=input comment=“defconf: drop everything else not coming from LAN” in-interface-list=!LAN
…
add action=drop chain=forward comment=“defconf: drop everything else not coming from LAN” in-interface-list=!LAN
I changed them to:
…
add action=accept chain=input comment=“allow from VPN” in-interface-list=dynamic log=yes log-prefix=DYNACCEPT:
add action=drop chain=input comment=“defconf: drop everything else not coming from LAN” in-interface-list=!LAN
…
add action=accept chain=forward comment=“allow from VPN” in-interface-list=dynamic log=yes log-prefix=DYNACCEPT:
add action=drop chain=forward comment=“defconf: drop everything else not coming from LAN” in-interface-list=!LAN