Is it correct that you are trying to log into your DD-WRT ?
Or are you trying to connect to a machine on the other side of the firewall ?
If so, I suspect you don’t have NAT port forwarding enabled to forward it to the machine inside the firewall.
If you’re not familiar with that, here are some articles.