Solved.
I flashed again, applied the AT+RESTORE and now all staip I get are within my LAN
Also tried the server and tcp client and 0 errors.
It seems like the latest firmware works pretty well. Last year when I started they had very odd behaviours.