LMI_FirewalldForwardPort

Class reference

Subclass of 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

Local properties

uint16 ToPortRangeEnd

If a port range is forwarded, the ToPortRange should delimiter destination range of same size as the input range.

uint8 Protocol

Protocol which ports are forwarded.

ValueMap Values
1 TCP
2 UDP

uint16 PortRangeEnd

If this property is set, whole range of ports between Port and PortRangeEnd is forwarded, otherwise only the Port is forwarded.

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.

string ToAddress

Destination IPv4 address where is the traffic forwarded to.

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 InstanceID
string Caption
uint64 Generation

Inherited methods

Table Of Contents

Previous topic

LMI_FirewalldDirectRule

Next topic

LMI_FirewalldICMPType

This Page