Port forwarding

Forward network ports to the containerized application's listening sockets and define access control.

Access to these listening sockets is permitted when accessed from the set of the listed interfaces and zones. Set both Interfaces and Zones to empty to remove interface restrictions.

Port forward

Configuration for forwarding TCP or UDP packets destined for a port on this device to another host.

  • Match - Apply the port forward to packets with these properties that are destined for an address on this device.
  • Redirect destination - Forward matched packets to this destination.
  • Access control list - The set of interfaces that the port forward is accessible from.

Properties

Enable

Enable this port forward.

  • Data type: boolean
  • Default: true
  • Configuration

CLI: (cli)> config compute container <key> service port-forward <index> enable

Label

The label used to describe and locate this port forward.

  • Data type: string
  • Configuration
  • Optional

CLI: (cli)> config compute container <key> service port-forward <index> label