hub port to outside template