This article contains information about configuring a Virtual Server (VServer) on a Citrix ADC appliance to accept traffic for a specific protocol and port range.
You might want to configure a Virtual Server only to accept TCP traffic on ports 443, 80, and ports between 10000 and 19999. In such a case, you can create multiple VServers, approximately 10000, to accept traffic for specific ports, or create a VServer with the protocol type ANY. A VServer with the protocol type ANY accepts all the traffic.
To configure a VServer of a Citrix ADC appliance to accept traffic for a specific protocol and port range, complete the following procedure:
Expand the Traffic Management node on the Navigation pane of the appliance.
Expand the Load Balancing node and then select the Virtual Servers node.
Click Add on the Virtual Servers page.
Type * in the Port field.
Select ANY from the Protocol list.
Type the other required details to create the VServer.
Click Continue and then Done.
The VServer with protocol ANY is created.
Select the Virtual Server with protocol ANY.
Click Edit on the Virtual Server.
Click the pencil icon in the Basic Settings.
Click on More.
Type 1 in the Listen Priority field.
Click Configure.
Type “CLIENT.TCP.DSTPORT.EQ(80) || Client.TCP.DSTPORT.EQ(443)||Client.TCP.DSTPORT.BETWEEN(10000,19999)” in the Listen Policy Expression field.
Click Create, as shown in the following screen shot:
Click Continue and then Click Done.
Bind the required services to the Virtual Server.
The services or service groups should be configured the same way, as the Load Balancing VServer, with * in the Port field and ANY selected from the protocol list. This way, any incoming traffic destined to the Load Balancing VServer on a specific port can be sent to the services and services groups on that same port.
For a list of expressions that can be used to define advanced policies on the Citrix ADC appliance, refer to Citrix ADC 13.0 Advanced Policy Expression Reference