How to close port 5151

Solved: Connect Wireless Router to Wired Router

Hey all

I'm trying to connect my wireless router to my wired router.

Ideally I want the following: internet -> A -> 3 PCs + B -> itouch + ps3 + laptops

A: Gnet External ADSL modem with 4-port switch bb0055 (note: this is a modem / wired router)
B: Trendnet Wireless router tew-639gr

All 3 PCs have internet, so i'm sure my wired router is working properly. Using an ethernet cable, I've connected a Lan port in my Wireless router to a Lan port in my Wired router. My itouch, ps3, and laptops can connect to my wireless but I'm not getting any internet. I've also been able to access my wireless settings and change a couple of things.

From what I've read online, In B, I need to turn off the LAN DHCP and change my LAN IP Address. I've tried a couple of things but it still isn't working. Also what should I set my WAN settings to in my wireless router?

Thanks,