I am having issues connecting with ssh remotely.

I had ssh up and running before but due to a recent mess-up trying to raid the drives I had to start over. I've installed everything and changed the default ports but I can only access it locally. If I try from outside the LAN it either times out or says my user/password are wrong ( I was able to access it remotely previous to messing up the drives).

I'm fairly new to linux and I've been searching everywhere for a solution. I'll happily post anything you guys need.

Any ideas?