I have both adapters up and running, the lan is properly assigning ups through DHCP and the wan is connected to the internet, confirmed using ping tests through ssh, but no devices connected to the LAN can get internet. They fail to resolve DNS as well as direct pinging IPS like 1.1.1.1. I went as far as completely reinstalling openwrt but no luck.
The wan is set to DHCP client as is getting an IP from my ISP, and my lan is set to 10.10.1.1/24, so they aren't in the same subnet. I have also disabled ipv6 on the lan.
Please 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:
I'm really sorry for wasting your time, after banging my head against the wall for 2 hours and a lot of googling I found a thread appointing out that if your wan interface is called WAN it doesn't work. Only happens with pies because you need to add the interface after the initial installs... It's working great now.
The name and case used for the interface name isn't the issue... the problem is when the name/case of the network interface doesn't match the name/case in the firewall configuration.
In the default configuration, there is a predefined wan zone in the OpenWrt firewall that has a specifies the network interface as "wan" (lowercase). If you create a new network interface called "WAN" (uppercase), it will not automatically be part of the wan zone. In this situation, the options are to 1) adjust the wan zone to have interface "WAN" instead of "wan" or 2) associate the WAN network interface with the wan firewall zone. Or the 3rd option is to rename the network interface "WAN" to "wan"