Forward a port

To make a service accessible to users, sometimes you may need to forward a port on a Lab Management box to an external-facing port.

Note: Port forwarding is only needed if Lab Management has been setup in an isolated deployment mode. If you can access the nodes directly, without tunneling through the manager, then you do not need to worry about setting up port forwards.
  1. In the left-hand column of the Administration screen, click Port Forwarding.
  2. Select a host and specify the type of traffic you want to forward.
    Host
    The TeamForge Lab Management host that you want to access the network service from. For example, cu014.lmdomain.yourdomain.net
    Host Port
    The port on the Host -- the hostname you selected above -- that you want to access the network service on. For example, if you would like to forward a web server, you would select Host Port 80.
    External Port
    The port on the TeamForge Lab Management Manager host that you would like to forward the traffic to. For example, if you would like to forward the above web server on Host cu014.lmdomain.yourdomain.net and Host Port 80 to port 8080 on the TeamForge Lab Management Manager host, you would enter 8080 in this field.
    Note: Only certain ports may be selected for the External Port. The list of ports is given at the top of the screen.
    Protocol
    The protocol or protocols to support when forwarding traffic. Choose one of these:
    • TCP
    • UDP
    • Both TCP and UDP
    Note: If you're unsure, ask the requestor for clarification. Most network services will only require TCP.
    Description
    A textual description of the service that is being forwarded. All users in the project will see this description when they view the Summary page for the Host.
    Note: The Description is mandatory.
  3. Click Add New to add your new forwarding. The new forwarding is active immediately. To test your new forwarding, try accessing the external port on the TeamForge Lab Management Manager from your desktop.
    Tip: If the network service requires special client software, especially if the forwarding is using the UDP protocol, you may not be able to easily test it. In that case, contact the requestor and ask them to verify that the forwarding works properly.