Hi There
Long time mikrotik user here (router + capman + APs at home, router at parents/places i help manage), had to learn IPv6 becasue:
- ISP started swaping from copper (coaxial) cables to fiber where i live, with their new gear/network being dual stack
- In the old network, asking to set their router to “bridge mode” also provided you with a dynamic public ipv4 addess, but in the new one, ipv4 address is always a dual nated non publicly routable one
So, i lost my wireguard remote access at home, at parents, and when this change extends to the 2 buildings i help manage IT stuff (i do general IT for a living, but i do this for free just to help), they wont:
- Be able to access a server thats in “place A” from “place b” (i had set up a wireguard connection between their 2 mikrotiks)
- People wont be able to use the access app because their server wont have a public ipv4 addess (i was using the mikrotik cloud DDNS option masked with a DNS A record in cloudflare).
I am now able to more or less operate IPv6 (had to spend a week or so reading, took some time till i noticed that many older articles were no longer valid).
I had issues at first becasue:
- I could get an address with the dhcpv6 client (SLAAC seems to not be supported by my ISP)
- Trying to get a prefix took a long time and errored out (this was because at some point i removed eth2 from the bridge, took eth1 into it, but never noticed that the bridge had the mac address of ETH2, this totaly broke DHCP-PD it seems).
Since i was unable to get a preffix (now i can, my ISP gives only /64 ones…), i got a single IPv6 address on my WAN interface, enabled masquerade and tried to distribute ULA addresses internally.
This more or less worked, with some “oddities”:
- i set a pool (ULA-pool1) as “fd00:0118:017:0001::/64” > sometimes when i reboot my router the bridge address reports that the pool is exausted and i had to delete it, which sometimes removes the used prefix, sometimes crashes the Hex S and its ok after reboot
- My CAPs (2 CAP AC and 1 HAP AC2) were not getting ipv6. plugging them directly to the HEX S fixed the issue (getting them back to the old Geovision switch which has no ipv6 options didn’t break them again. Here i thought that after “directly knowing” the HEX S LL address it worked or something).
- I was unable to consistently get IPv6 DNS address on windows devices (if i use the advertice option in ND android, iOS and a qnap NAS are ok, adding the DHCPv6 server with DNS option 23 seems to intermitenlty show an ipv6 DNS on my windows computers). NOTE: i have cloudflare DoH configured, with no DNS servers set and the fixed dns entires for resolving cloudflare DoH address.
- dunno if normal, but with the default ipv6 firewall rules, i see a lot of weird IPs with status FAILED under “neighbors” (dunno if they are attackers or whatever). If i set the default rule for allowing router advertisement to the LL address of the huawei rotuer my ISP gave me, this goes away.
Now i want to learn about using the correct prefix delegation way, BUT, i am totaly freaked out about needing a correct secure firewall in place on each device because they will have a public ip each (i kinda want to keep the single ipv6 ip in place, am i weird?).
–
But my TRUE needs:
-
since IPv4 remains NON public, is there any way to use the TIKs “cloud DDNS” function with only the IPv6 address being published?
I ask this becasue having both the A and AAAA record published makes using wireguard and the “access app” imposible (both go to the non public IPv4 address by default). -
Should i use ULA addresses (With no pool) for wireguard interface and clients? (will start testing that).
I don’t really need IPv6 internally, i just want to be able to regain remote access and to route traffic from this “access app” to the windows machine behind one of my mikrotiks (they currently have their own DNS record pointing to the the cloud DDNS from mikrotik. For this case i THINK i need to either get a public ipv6 address into that computer and use some DDNS client on it, OR, use the public address on the mikrotik, tell them to point THEIR dns record to the AAAA one of our router, and use ULA addresses inside my network to NAT traffic to the server?)
I started my ipv6 adventure thinking i would get a public IPv6 address on the router and nothing would change internally, but i think to understand that wont be feasibe.