|thanks guapo but i believe this is the answer to what iam looking for....|
well, hopefully someone labeled the ports on the wall, and the ports at the rack. If they did, then great, just match the port you want to use for the wan port on the patch panel to the port on the wall at the other location. plug the cable from the wan port into the patch panel port, plug the router wan port into the other side of the cable at the cat 5 port from wall with the same label. Do the same with the LAN cable.