You'll need to tweak some settings in the router and on the PS3. For the router i would suggest doing some port forwarding. I've listed the ports needed in the thread stuck at the top along with a link to a site that guides in how to get to the port forwarding of most routers.
As for on the PS3, i would manually set your DNS servers and subnet mask- you can find this information in the router settings.