Simplify port forwarding setting

Provide a better overview over the portforwarding configuration
The ports are set through a hash.

This reduces duplicated code and improves readability.