I have a Wireguard server configured in a Mikrotik router (ROS 7.6) that only works when the peer has an IPv4 address. If the peer has an IPv6 address it doesn't work.
One peer is my cell phone, sometimes the LTE carrier assing to it an IPv4, sometimes an IPv6. That's the problem, everytime it gets an IPv6 I can't connect to my network using Wireguard.
I have the IPv6 disabled in my router:
Code: Select all
/ipv6 settings
set disable-ipv6=yes max-neighbor-entries=8192
And the firewall allow the necessary input connection:
Code: Select all
/ip firewall filter
add action=accept chain=input comment="default configuration" \
connection-state=established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=\
invalid log-prefix=FI_D_invalid
add action=accept chain=input protocol=icmp
add action=accept chain=input comment="Allow Wireguard Connections" dst-port=\
1234 protocol=udp
...
Thanks!
Regards,
Rodrigo.