eek! the Linksys WRT54G has firmware problems. Best bet is port forwarding. Even better is re-adjusting the firmware code yourself ... but you need to know what you're doing otherwise you may render the device inoperable. See the UPnP & port forwarding sections here
Connection problems? Check here first! (click on link)