I think you are talking about a MiFi (tm) or similar device that converts wifi to a 4G / 5G connection. The OpenWrt configuration here will be the basic routed client. Masquerade usually must be used because it is not possible to install routes on the MiFi. https://openwrt.org/docs/guide-user/network/routedclient
Many hotspot devices do support USB tethering and this should be considered since it has the potential for higher performance than a WiFi connection. Also IPv6 (in relay mode) is supported by most phone companies.