Posted: Tue Jan 04, 2022 5:47 Post subject: [SOLVED]Wireguard server on Wireless Access Point (WAP)
I'm new to serving my own VPN and trying to setup Wireguard. I've followed a few guides trying to understand the server and client configs. The guides are relatively consistent but I am unable to connect. I suspect this is due to my Wireguard server being behind NAT.
Internet > Router (DD-WRT on 10.1.1.1) > Router (DD-WRT on 10.1.1.2)
Almost all services are run from the edge router but being an older router (TEW 811 v1) it would not support Wireguard. Wireguard is running on 10.1.1.2 which acts largely as an AP due to newer frequencies and antenna.
I have attempted to forward the Wireguard port from 1.1 to 1.2 but I'm not getting a handshake.
Appreciate a shove in the right direction. This entire setup is remote and not physically accessible.
Joined: 18 Mar 2014 Posts: 12840 Location: Netherlands
Posted: Tue Jan 04, 2022 8:02 Post subject:
What router and what build do you have?
To get the best out of DDWRT and the forum read the forum guidelines with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Thanks. I was unaware of the Advanced guide and it was what I needed. I'm up and running now. It would be nice if they were one guide.
My hurdles were the port forward and the added route. I also had some fiddling with the Allowed IPS on the client side and recommend trying multiple clients. Once one was connected I could replicate on others and then better understand how to limit my traffic to connect over my wan and the wg connected lan.
Also for anyone else I would recommend reboots after settings changes. It's frustrating to my process logic to try something, have it fail. conclude I was in error somewhere only to have it work after a router reboot.