What do I need to set to be able to browse the Internet via a laptop connected to an OpenWrt router, given that I can ssh into the router and ping 8.8.8.8 or google.com from there?
Is this a DNS or Firewall issue?
I'm using a default installation and accessing the Internet via a 4G/LTE connection.
If your cellular modem is a modem+router and has a lan subnet of 192.168.1.0/24, that will cause the behavior you are describing.
If that's the case, change your OpenWrt lan address to something like 192.168.5.1 and that will solve the issue
If not, let's see your config.
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
Yes, any non-overlapping subnet will work. In this case, your upstream was 192.168.1.0/24, so any 192.168.x.0/24 can be used where x between 0-255 and not 1. Or, you could use any range from the 10.0.0.0/8 or 172.16.0.0/12 ranges, too.