How to do port forwarding manually

How to do port forwarding manually