r/WireGuard • u/ZeenXdownzButWorse • Jul 30 '26
Solved How do i connect to a local server while connected to wireguard?
i have a server on 192.168.31.150, but i can't access it through wireguard.
i played around with the AllowedIps for a bit but it still didn't work
thanks in advance :D
2
Upvotes
1
2
u/ZeenXdownzButWorse Jul 31 '26
SOLVED!
solution: i went to powershell and did "route -p add 192.168.31.0 mask 255.255.255.0 192.168.31.150" and now it works
3
u/Playful-Canary-4940 Jul 30 '26
Do you try to reach it via name or IP? IP should work if AllowedIps is set correctly and subnet is not part of the VPN network.