Match

Apply the port forward to packets with these properties that are destined for an address on this device.

Properties

IP version

Match packets from the selected IP family.

OptionLabelDescription
anyAnyMatch any IP packet.
ipv4IPv4Match IPv4 packets.
ipv6IPv6Match IPv6 packets.
  • Data type: string select
  • Default: ipv4
  • Configuration
  • Required

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

Protocol

Apply the port forward to packets with this IP protocol.

OptionLabelDescription
tcpTCPMatch packets using the TCP protocol.
udpUDPMatch packets using the UDP protocol.
  • Data type: string select
  • Configuration
  • Required

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

Host port

Apply the port forward to TCP/UDP packets that have this destination port.

  • Data type: integer
  • Minimum: 0
  • Maximum: 65535
  • Configuration
  • Required

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