I have a temporary situation, normal my IPS modem/router is in bridge mode. This modem is broken and only working in normal NAT mode now. (I'll get a new one in a few days)
My double NAT seems te be working between the OpenWrt router and the IPS router. But clients on the OpenWrt can't get internet access.
Internet <-> ISP router dmz to 192.168.178.10 <-> Openwrt router WAN is 192.168.178.10
ISP router is on gateway 192.168.178.1 netmask 255.255.255.0
The Openwrt is getting this info from dhcp too.
On the Openwrt router I can use the diagnostic tools like ping / nslookup and traceroute, they are al working flawlessly.
A firewall issue?
Clients connected directly to the ISP router are working fine.
if you're having issues with DNS on clients, but ping and DNS works on router, it's probably because WAN IP on openwrt device is set to static and not DHCP ....
if you've done it like that, you manually have configure DNS to clients, it's option 6, below.
dmz was just to test, because I had no connection at all.
It works, it was a dns setting.
Normally my OpenWrt ip address is also the dns setting for clients, that is somehow in this setup not working, so I changed the dns in a public one (1.1.1.1) and now it works.
I still don't know why, but it's a temperary situation, so I'm fine I think