Connect to my own Minecraft server with cracked?

I can connect to Lan server's and stuff, but nothing online. How do I connect to my own Server with a cracked account? Can I use my internal IP?

In server.properties file set online-mode=false

Then there's no checking with minecraft.net to see if an account is valid or has a valid login. And certain files to allow or disallow things by player name, like banned-players.txt, white-list.txt, or ops.txt, would not be very effective against other players, because a player could change their name to someone allowed on, or even to the name of an op (admin).