I know how to set up the TCP and UDP Protocol in the windows version of this program on the linksys router.
It shouldn't matter about the OS. The P2P client will use the same ports no matter what it's run on. If it doesn't, I'd be very surprised.
Mine was running with 4662/3 when I first started it, all I had to do was some portforwards.