This app would help. It's for on the PC though, but I'm sure when the ports unlocked on the PC it'll be unlocked for the PS3 too.

If your router has a firewall built in, search for it. It can be under internet options or security.