Port Forwarding Tutorial, Ports work at the Transport layer, using TCP and UDP to send and receive data between devices.