So I’m trying to get wireguard working on my RB5009UG+S+ running version 7.14.3 of RouterOS and I’m stuck. I am trying to get an Android phone running the official wireguard client connected so that I can access my home NAS from the road. I want to get my Linux laptop connected via Network Manager, but phone is more important at this point.
The client app on the phone reports no issues when I connect Upon invoking the connection in the app, I see output as the app reaches out to my router. All looks good; however, when I try to ping the wireguard IP (or any IP on my router), I get timeouts. Everything is unreachable.
A few facts about my setup:
Interface wireguard1 is set up and listening to udp port 13231 with MTU of 1420
The home LAN has an IP of 10.0.0.0/24
The wireguard1 interface has an IP of 10.2.0.1/24
The wireguard interface is not part of an interface list (LAN/WAN, etc), nor does it belong to a bridge
A firewall input rule for udp 13231 exists that allows traffic to pass
I’ve added the peer along with appropriate public keys in the router’s wireguard peer config
Address I assigned to the client / phone is 10.2.0.3/24, and it has been listed as an “address” in the phone’s wg interface
I’ve added the router as a peer on the Android phone, adding 0.0.0.0/0 as the “allowed IPs”
The app log on the phone doesn’t report key errors, so it is appearing that keys are not the issue. That’s my guess, anyway. I’m concerned that my network configuration is not set up right.
Any suggestions? I’ve been excited to get this working but this has really beat me up. I wouldn’t be surprised if it’s something small and simple that is keeping it from working as expected.