Zend certified PHP/Magento developer

What could be a possible reason for a server within a local network not being accessible as external domain?

I have a domain name “example.com”. The router connected to the internet (192.168.0.1) forwards specific ports to a router within the network working in WISP mode (192.168.1.1 / 192.168.0.123). That router has a DMZ configured, redirecting all connections to a server (192.168.1.123).

I can connect to “example.com” from outside of the network and from devices connected to 192.168.0.1 but from the devices connected to 192.168.1.1 I get a connection timeout. I can still connect using IP 192.168.1.123 with no issues. I can even connect to the 192.168.1.1 using it’s external IP (192.168.0.123) and get redirected to the server.

What could be the cause for this?

It doesn’t work for SSH, HTTPS, IMAP and SMTP, so it’s not something specific to a port or protocol.