Because your router does not magically know that connections comming in on certain ports are meant for a specific computer.
They can't.Or else people would be trippin' all over your port 80.
It doesn't matter what OS you have.How you do it depends on the router, and only the router.