The problem could either be your OSX firewall or your modem/router's internal NAT firewall. For OSX firewall see
OSX Firewall settings for Tiger
For your modem/router, it depends on brand & model. Check to make sure UPnP is enabled. See
Connection problems? Check here first! (click on link)
Personally I often have my OSX firewall disabled. Only occasionally turn it on.