Need help creating a bridge LAN to WAN

Router TP-Link Archer AX 80 US
New to opwnwrt, coming from dd-wrt where I have this config running with a nighthawk router.
Internet access via 5G Gateway
The AX80 is plugged into one of the gateway's Ethernet ports. AX 80 WAN port runs on same subnet as gateway (DHCP), lan has it's own subnet. Both wireless interfaces are working fine and have internet access, devices plugged into AX 80 lan ports have no internet access. I tried to add the WAN interface to br-lan, but the doesn't provide internet access.

/etc/config/network
config interface 'loopback'
        option device 'lo'
        option proto 'static'
        list ipaddr '127.0.0.1/8'

config globals 'globals'
        option dhcp_default_duid '000406ddefa5c7fd4ba498819736aa76190a'
        option ula_prefix 'fdfe:13d3:90f2::/48'
        option packet_steering '1'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'lan0'
        list ports 'lan1'
        list ports 'lan2'
        list ports 'lan3'

config device
        option name 'lan0'
        option macaddr 'xx'

config device
        option name 'lan1'
        option macaddr 'xx'

config device
        option name 'lan2'
        option macaddr 'xx'

config device
        option name 'lan3'
        option macaddr 'xx'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        list ipaddr '192.168.??.1/24'
        option ip6assign '60'
        option multipath 'off'

config interface 'wan'
        option device 'eth1'
        option proto 'dhcp'

config interface 'wan6'
        option device 'eth1'
        option proto 'dhcpv6'

config interface 'gateway'
        option proto 'dhcp'
        option device '@wan'
        option multipath 'off'

Welcome.

We need to know this value in order to assist you.

Also, what is the WAN IP?

Lastly, not sure why you added a second DHCP interface on WAN.

That wouldn't work as you described, and your configurations don't reflect that.

The lan subnet address is 10: list ipaddr '192.168.10.1/24'
The wan subnet address is 12: 192.168.12.138
I removed the @wan interface.
Here is the new network file:

config interface 'loopback'
        option device 'lo'
        option proto 'static'
        list ipaddr '127.0.0.1/8'

config globals 'globals'
        option dhcp_default_duid '0004726aeb05551840118f9a518223e73b05'
        option ula_prefix 'fdad:724e:5794::/48'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'lan0'
        list ports 'lan1'
        list ports 'lan2'
        list ports 'lan3'

config device
        option name 'lan0'
        option macaddr 'XX'

config device
        option name 'lan1'
        option macaddr 'XX'

config device
        option name 'lan2'
        option macaddr 'XX'

config device
        option name 'lan3'
        option macaddr 'XX'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        list ipaddr '192.168.10.1/24'
        option ip6assign '60'

config interface 'wan'
        option device 'eth1'
        option proto 'dhcp'

config interface 'wan6'
        option device 'eth1'
        option proto 'dhcpv6'

And to be clear, this configuration results in no Internet?

Don’t bridge LAN to WAN for this setup. With WAN on 192.168.12.0/24 and LAN on 192.168.10.0/24, the normal OpenWrt routed/NAT setup should work: LAN clients use 192.168.10.1 as gateway/DNS, and the firewall has LAN allowed to forward to WAN with masquerading on WAN. Since Wi-Fi clients work but wired LAN clients do not, please also post /etc/config/wireless and /etc/config/firewall, plus ip route from the router. That will show whether the Wi-Fi is actually attached to LAN or to a different network.

The default configuration should work. The only changes would be to set up wifi (using lan as the wifi network) and change the LAN IP if desired, you don't have to though since the upstream is 12.1/24, which doesn't overlap the default 1.1/24

As pointed out you want to route from lan to wan, not bridge. The default configuration has all of that set up. The existing br-lan bridge bridges wired and wireless LAN users to each other and to the router's internal services like DHCP and DNS.

Thanks for all your replies!
The default configuration works fine, and the configuration error was on the client side.
A "route -n" on dd-wrt and openwrt had the same entries (just different subnets), telling me to check the client.