I've got an ac1200 that I want to set up as a wireless access point with a VPN. It's connected to my main router using a lan port. I can see that data is exchanged over the Wireguard interface, and I can connect to the Wifi connection from the laptop, but I think that I don't get an IP address. The error says:
Your Mac successfully joined the Wi-Fi network, but cannot reach the internet.
If this is your Wi-Fi network, try restarting the modem and router, or contact your ISP.
There is a lot wrong here. If I had USD 0.05 for every list dns or option gateway that a newbie thinks is going to solve the problem...
The best way to do this is to build a lan-wan router first then follow the numerous directions for making a simple "whole house" VPN client out of that. It does not matter that the wan will not be directly connected to the ISP. Everything on the wan side including your home network will be viewed as part of the Internet to the second router / VPN server.
You can make a wan bridge and place an AP into it to have "dumb AP" functionality. Users of that AP will be part of the home network and not subject to OpenWrt's firewall or VPN.
I've made an attempt at the wan-lan setup, using a combination of this reddit post and this openwrt/wireguard howto from surfshark. The status is now that I can connect to the wlan if I have a static route (target 0.0.0.0/0, gateway 192.168.0.1). The wireguard connection is sending / receiving packets, but I can't work out how to send traffic via the vpn. I have tried:
Adding the routes that are at the bottom of the config file below (they are now disabled, they weren't then)
Changing the firewall settings as suggested in the howto
I have got it working. I watched this guy's video: https://www.youtube.com/watch?v=04q41GEPvKA and went through everything that he went through. I think the change that made it work was adding the custom DNS server from the Wireguard config file to the WAN connection.
Thanks to everyone who read this and especially those who took the time to reply.