Subject: Site-to-Site WireGuard Setup: NVR Cannot Reach IP Cameras Behind Restricted Building Network (No Port Forwarding)
Body:
Hi everyone,
I am trying to set up a WireGuard Site-to-Site VPN between two GL-SFT1200 (Opal) routers to connect a home NVR system with IP cameras located in a separate building parking lot. However, I cannot get the NVR to discover or access the cameras.
Here is my current network setup:
Site A: Home Network (NVR Location)
Internet: Standard home ISP router. I have full administrative access to this router and can do port forwarding.
GL.iNet Router: Opal Router A is connected to the home ISP router.
Devices: The NVR is connected directly to Opal Router A.
VPN Role: Configured as the WireGuard Server (Port forwarded on the main ISP router).
Site B: Building Parking Lot (IP Cameras Location)
Internet: Building shared network. I do not have access to the main router and cannot perform port forwarding.
GL.iNet Router: Opal Router B is connected to the building's network.
Devices: Two IP cameras are connected directly to Opal Router B.
VPN Role: Configured as the WireGuard Client, initiating the connection back to Site A.
The Problem:
The WireGuard tunnel seems to establish successfully (Client connects to Server), but the NVR at Site A cannot "pull" the video streams or ping the IP cameras located at Site B.
I assume it is a routing or firewall issue between the two subnets, or perhaps an issue with how Site-to-Site / AllowedIPs is configured on the Opal firmware.
What are the correct LAN subnet and IP settings I should use for both Opals to avoid conflicts?
What specific firewall rules or "Allowed IPs" settings do I need to configure on both sides so the Server side (Site A) can actively initiate connections to devices on the Client side (Site B)?
I am in a similar situation but between a GL-XE3000 running over 5G with 4.0 version and a pfSense.
On the GL side the LAN devices can reach (ping, ssh, curl, etc) the remote pfSense side, but the pfSense LAN side can only ping the GL LAN devices while ssh, curl etc all fail. I have the WG to LAN and LAN to WG zone set to accept forwarding, no masquerade needed since it would be a site-to-site tunnel.
On the pfSense side I have GW and route configured, and it seems to work since ping reaches the GL devices.
I have tried to add port forwarding to the GL LAN IP and GL WG IP as well but even that won’t work.
There seems to be some big issue with the GL side’s Wireguard implementation or setup as this pfSense has an equivalent setup to a remote pfSense as well that works in the same WG setup.
Would really appreciate a guide or some semi-official help to Site-to-Site setups on GL devices as it seems to be a problem for most people.