virtualTcpServicePort
Value Type
port-list
Default Value
This testvar must be explicitly defined in the configuration file
This testvar can appear multiple times in a configuration file. Each instance must take the form virtualTcpServicePort
Description
Each virtual service describes a port mapping rule which allows hosts on the WAN to access specific services hosted by clients on the LAN side of the DUT. This parameter specifies the public port on the WAN used for this TCP virtual service. This public port will be mapped to a specific LAN host and port. Note that a range of a ports can be specified by separating them with a dash. Likewise, multiple individual ports can be specified by separating them with a comma.
Some TCP virtual service example configurations include:
TELNET
Public TCP Port: 23 LAN Host IP: 192.168.1.201 Name: telnet Lan Port: 23
SMTP
Public TCP Port: 25 LAN Host IP: 192.168.1.202 Name: smtp Lan Port: 25
FINGER
Public TCP Port: 79 LAN Host IP: 192.168.1.205 Name: finger Lan Port: 79
Note that CDRouter will automatically take into consideration any configured virtual services when performing firewall related tests.
After defining an instance of this testvar, you may also define the corresponding instance of the following testvars: virtualTcpServiceHost, virtualTcpServiceLanPort, virtualTcpServiceName