Serve internet from an hotspot

Is it possible to use a router with openwrt for below scenario?

  1. Hotspot device with unlimited internet
  2. Connect router with openwrt flashed to the hotspot (via WIFI) and make it serve internet via wifi and lan ports.

Is this possible? Any specific requirements that the router needs?

Thanks!

Subnet on wan and lan may not overlap

1 Like

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.