Forum Discussion

Shazee's avatar
Shazee
Icon for Altocumulus rankAltocumulus
Oct 04, 2019

configure virtual server in LTM interface IP

Configuring a BIGIP LTM in AWS where the AWS architects does not guarantee any reservation of IP address. Even the management address and self ip address.

 

Is there  a possibility to configure all virtual server as the external (Public) interface and distinguish the inbound request (to virtual server ) based only on the incoming customised tcp ports  (9000,9002 like that)

2 Replies

  • Hi Shazeetcs,

    You can use iRule for incoming port .

    K6018: Configuring a BIG-IP virtual server to listen on a port range:

    https://support.f5.com/csp/article/K6018

    when CLIENT_ACCEPTED {
    	if {([TCP::local_port] >= 9000) || ([TCP::local_port] <= 9002)} {
    		pool pool_abc
    	} elseif {([TCP::local_port] == 9090)} {
    		pool pool_xyz
    	}
    	else {
    		reject
    	}
    }
    • Shazee's avatar
      Shazee
      Icon for Altocumulus rankAltocumulus

      Thank you,, ill check this and update further