The instructions are all here
Connection problems? Check here first! (click on link) & that includes OSX's firewall if you have it active. Also check your modem/router to ensure UPnP is enabled. If it doesn't support UPnP then port forwarding is probably the way to go. If you're using dial up, then this doesn't apply.