Managing Service Gateways
A service gateway forwards inbound TCP connections from a port on the hypervisor to a port on a virtual machine on the NAT network. Every address the hypervisor holds accepts the forwarded traffic. You manage service gateways from the Service Gateways tab of the hypervisor’s detail page.
Add a Service Gateway
-
On the Service Gateways tab, select Add Service Gateway.
-
Under Settings, enter a Name.
-
Under Traffic Mapping, fill in the mapping row:
Field Set to Example Target The virtual machine to forward to. Only machines with an interface on the NAT network are listed. web-01Type TCP, the only optionTCPSource The port on the hypervisor that accepts the connection, between 1 and 1024 443Destination The port on the virtual machine 8443 -
Select Add Mapping for each further port to forward, and the trash icon to remove a row.
-
Select Create.
A source port can be used by one mapping on the hypervisor. The form rejects a port already taken by another service gateway.
A service gateway cannot be edited. To change a mapping, delete the gateway and add it again.
Delete a Service Gateway
Deleting a gateway closes every connection open through it.