Wireguard Client Routing on OpenWrt 19.07.8 (on GL-750S)

Hello Experts!

I’m trying following configuration in Wireguard:

Setup:
Site S:
Internet <-> ISP NAT Router (192.168.2.1/24) <-> GL-750S (Wireguard Server 10.0.0.1) (192.168.8.1/24) <-WiFi Client (192.168.8.10/32)

Site C:
Internet <-> ISP NAT Router (192.168.1.1/24) <-> GL-750S (Wireguard Client 10.0.0.2) (192.168.6.1/24)

Desired Traffic flow:
Site-S-WiFi Client → WG Tunnel → Site-C WG Client → Site-C-Internet

Source IP (or Subnet) based traffic routing is fine too.

I was wondering how to achieve this. Any help greatly appreciated.

What is the output of the following:

ubus call system board
1 Like

Here is the output:

{
	"kernel": "4.14.241",
	"hostname": "GL-AR750S",
	"system": "Qualcomm Atheros QCA956X ver 1 rev 0",
	"model": "GL.iNet GL-AR750S (NOR/NAND)",
	"board_name": "glinet,gl-ar750s-nor-nand",
	"release": {
		"distribution": "OpenWrt",
		"version": "19.07.8",
		"revision": "r11364-ef56c85848",
		"target": "ath79/nand",
		"description": "OpenWrt 19.07.8 r11364-ef56c85848"
	}
}

Before you begin configuring Wireguard, I recommend upgrading to the latest version of OpenWrt.

https://firmware-selector.openwrt.org/?version=22.03.3&target=ath79%2Fnand&id=glinet_gl-ar750s-nor-nand

Note: you must not keep settings across the upgrade- it is not supported land may cause problems if you try to maintain the configuration. It is a good idea to make a backup first, then use the backup ad a reference as you reconfigure your device.

1 Like