LAN with static IPs clients to be accessed via VPN
Hi,
I need to build a VPN tunnel for accessing a LAN created in my Omada system (Router ER8411, Controller OC300).
I have 2 LANs, first is 192.168.0.X/255.255.255.0, second is 192.168.2.X/255.255.255.0
Gateway is 192.168.0.1
With first LAN accessed from VPN, all ok.
My problem is that I need to access some devices that exist in the second LAN, but all devices in the second LAN have static IPs, each without having a gateway set (only IP 192.168.2.X and mask 255.255.255.0). That devices cannot have a gateway set (or to be exact, this is a VoIP structure)
With a local connected computer, set with static IP in the same class (192.168.2.X/255.255.255.0) I'm able to "see" the other devices, but I don't know how to set a VPN to be able to "see" that devices from outside.
I've tried OpenVPN and Wireguard but most probably I'm doing something wrong.
With OpenVPN I get an address from the requested class, but always the mask is 255.255.255.252.
Wireguard configuration I think I do not understand. I fully read and tried the tutorial presented here in the forum but I do not fully understand each parameter, (for example what must be set in "Local IP Address" parameter in the Omada Wireguard - not Peers - interface).
Thank you for your help.
