Hi, I'm stuck trying to get what is essentially a road warrior set up working. The wireguard link connects, but traffic won't go anywhere.
I have OpenWRT at home. I want to connect to it while away using a GL.iNet AR300M16 mini router (currently has stock firmware) and send all traffic through the wireguard tunnel to appear like it's part of the LAN at home, with access to the internet from there.
I ran the commands on OpenWRT server setup: https://openwrt.org/docs/guide-user/services/vpn/wireguard/server
And got the GL.iNet set up as a client after a lot of mucking about with this config, it connects successfully:
[Interface]
Address = 192.168.9.1/24
PrivateKey = NOT-REALlkhslkjsfljkhgkjhgdgddd=
DNS = 192.168.1.1
MTU = 1420
If you're running a forked OpenWrt on your router, you should probably ask on the manufacturer's forums. As we don't know what kind of changes were made to the firmware, kernel or Wireguard.
The config that you provided, looks like a wg-quick one and not what OpenWrt uses for Wireguard.
Thanks egc. That guide is good. I think I was missing the "Now the most important part which is often overlooked:
Route Allowed IPs: Enable (tick)" in the wireguard peers section.
Is there an easy way to turn off the VPN when not required? Disable it and change the firewall rules I guess?
Cool, I'll try that.
Yeah, no kill switch. I essentially want to access normal services (work email, abc iview etc) which are geoblocked while I'm away overseas. Wireguard is very fast, but my home network upload speed is only 10MBit which is a little slow for full time use.