Connecting to a remote fails authorization, over the net, but works locally

Connection on the local network work fine

Working over the net remotely always fail authorization.

What can i do?

[personal information removed]