Implement specifying which ports are forwarded where

# Ready for merging