VS not working

Hi

I have a VS working on port 80 and 443 with a irule, but for some reason it’s not working. but if i connect to the backend directly it works.

Irule

when CLIENT_ACCEPTED {

switch [TCP::local_port] {

80 {

SSL::disable clientside

SSL::disable serverside

pool pool_wlcmrbqa_http

}

443 {

pool pool_wlcmrbqa_https

}

}

}

here is the config for the VS

ltm virtual vs_wlcmrbqa {

destination 10.217.235.113:any

ip-protocol tcp

mask 255.255.255.255

partition CMRB

pool pool_wlcmrbqa_http

profiles {

/Common/http { }

/Common/wildcard.co.za {

context clientside

}

/Common/serverssl-insecure-compatible {

context serverside

}

/Common/tcp { }

}

rules {

wlcmrbqa_irule

/Common/CRM

}

snat automap

translate-port disabled

vlans-disabled

}

sorry i fugured our the problem translate-port needed to be enabled…