My current network is divided into several subnets:
- 192.168.2.0/24 = LAN Network
- 192.168.100.0/24 = IoT Network
I now want to add a third network using an OpenVPN configuration in order to access a remote machine. My VPN is an OpenVPN in TAP mode (192.168.1.0/24). The connection to the VPN through the OpenWrt interface is working fine, and if I connect directly to the router, I can ping the machine I want to reach (192.168.1.221).
The router is connected to the VPN through the IP address 192.168.1.220.
I have set up an interface with "none" protocol (OPENVPN-TAP) and a firewall rule to allow my LAN network to access the OPENVPN-TAP network.
However, I am unable to reach a machine in the OPENVPN network from my LAN network using any means (ping 192.168.1.221 = not working). But I can successfully ping the router's address (ping 192.168.1.220 = OK).
Can you help me with the configuration that needs to be implemented?