I have installed the OpenWrt 22.03 on the GL-XE300 Puli router. Router has 2 ports (WAN, LAN). WAN cable is connected to the switch for the network and LAN cable is connected to my PC. I am able to get the network for the router from the switch using WAN, but I am not able to get the internet connectivity to the PC connected with the LAN of the router.
I have GL.inet latest firmware installed on the router and on top of that I have compiled my customized firmware (which includes other packages) based on OpenWrt and upgraded the router. So, with these changes, the LAN changes may not reflected.
It appears you are using firmware that is not from the official OpenWrt project.
When using forks/offshoots/vendor-specific builds that are "based on OpenWrt", there may be many differences compared to the official versions (hosted by OpenWrt.org). Some of these customizations may fundamentally change the way that OpenWrt works. You might need help from people with specific/specialized knowledge about the firmware you are using, so it is possible that advice you get here may not be useful.
Ask for help from the maintainer(s) or user community of the specific firmware that you are using.
Provide the source code for the firmware so that users on this forum can understand how your firmware works (OpenWrt forum users are volunteers, so somebody might look at the code if they have time and are interested in your issue).
If you believe that this specific issue is common to generic/official OpenWrt and/or the maintainers of your build have indicated as such, please feel free to clarify.