.. _LMI-FirewalldForwardPort: LMI_FirewalldForwardPort ------------------------ Class reference =============== Subclass of :ref:`LMI_FirewalldRule ` LMI_FirewalldForwardPort describes forwarding rule in the firewall. Currently this rule can be used for IPv4 forwarding only, use LMI_FirewalldRichRule for IPv6. Key properties ^^^^^^^^^^^^^^ | :ref:`InstanceID ` Local properties ^^^^^^^^^^^^^^^^ .. _LMI-FirewalldForwardPort-ToPortRangeEnd: ``uint16`` **ToPortRangeEnd** If a port range is forwarded, the ToPortRange should delimiter destination range of same size as the input range. .. _LMI-FirewalldForwardPort-Protocol: ``uint8`` **Protocol** Protocol which ports are forwarded. ======== ====== ValueMap Values ======== ====== 1 TCP 2 UDP ======== ====== .. _LMI-FirewalldForwardPort-PortRangeEnd: ``uint16`` **PortRangeEnd** If this property is set, whole range of ports between Port and PortRangeEnd is forwarded, otherwise only the Port is forwarded. .. _LMI-FirewalldForwardPort-ToPort: ``uint16`` **ToPort** The destination where the traffic is forwarded to. If the value of this property is not specified, the traffic will be forwarded to same port (or port range) on the destination. .. _LMI-FirewalldForwardPort-ToAddress: ``string`` **ToAddress** Destination IPv4 address where is the traffic forwarded to. .. _LMI-FirewalldForwardPort-Port: ``uint16`` **Port** Local port to be forwarded to destination. Range of ports can be specified by setting PortRangeEnd property. In that case, Port is used as beginning of the range and PortRangeEnd as end of the range. Local methods ^^^^^^^^^^^^^ *None* Inherited properties ^^^^^^^^^^^^^^^^^^^^ | ``string`` :ref:`Description ` | ``uint16`` :ref:`ChangeableType ` | ``string`` :ref:`InstanceID ` | ``string`` :ref:`ElementName ` | ``string`` :ref:`Caption ` | ``string`` :ref:`ConfigurationName ` | ``uint64`` :ref:`Generation ` Inherited methods ^^^^^^^^^^^^^^^^^ | :ref:`AddRuleComponent `