IP cameras on other subnet in Wireguard site-to-site config

Quick explanation that may be helpful for others:
Two OpenWrt devices is connected through a Wireguard site-to-site configuration.
The remote router has a second interface+firewall zone for IP cameras as stated in a previous thread.

The main router is 192.168.1.1 and the remote router is 192.168.3.1. The camera interface on the remote router has IP address 192.168.5.1.

Both routers can reach each other and all devices on both networks can reach each other successfully.

To be able to reach the devices on the 192.168.5.0 network from the devices on the 192.168.1.0 network I had to set in the wireguard peer config of the main 192.168.1.1 router AllowedIPs to "192.168.5.0/24" where /24 means all 254 usable IP adresses in the last digit of the 192.168.5.x subnet, and /24 is corresponding to netmask 255.255.255.0. Just as the site-to-site configuration where I initially had to add "192.168.3.0/24" to AllowedIPs.

After that go to the the shell console of the 192.168.1.1 router:

uci commit network
service network restart

Or reboot.