Hey there.
I did a little troubleshooting on my machine. Turns out it wasn't the router nor the DNS server.
I have a laptop. Sometimes I used it with WiFi and other times with a wired connection.
This is what happened.
I thought that it will be good to avoid any conflicts between internet interfaces, so before I plug the Ethernet cable, I ran the wifi.sh utility, it asked me if I wanted to disconnect and rescan and I said 'yes'. But I do not reconnect back again, instead y close the utility (select 'q' as an answer to exit).
I get access to the internet, but I do not know what happens since I'm blocked from accessing ssh server in my LAN.
If instead, just plug the Ethernet cable without messing with the wifi.sh script and run sudo udhcpc to get internet connection with the eth0 interface, everything works. Internet and ssh connections.
So I'm guessing the wifi.sh script does something to the interfaces that allows me to access the internet but somehow routes LAN traffic in an odd way.