is 10.10.1.10:4030 virtual server? if so, is this what you are asking?
root@ve1100(Active)(/Common)(tmos) list ltm virtual bar
ltm virtual bar {
destination 172.28.19.252:80
ip-protocol tcp
mask 255.255.255.255
profiles {
http { }
tcp { }
}
rules {
myrule
}
vlans-disabled
}
root@ve1100(Active)(/Common)(tmos) list ltm rule myrule
ltm rule myrule {
when HTTP_REQUEST {
switch [string tolower [HTTP::uri]] {
"/" { HTTP::redirect "http://[HTTP::host]:4030/xyzbnhtyijhgful/ccvvddaa" }
default {
HTTP::redirect "http://[HTTP::host]:4030[HTTP::uri]"
}
}
}
}
root@ve1100(Active)(/Common)(tmos) list ltm virtual bar2
ltm virtual bar2 {
destination 172.28.19.252:4030
ip-protocol tcp
mask 255.255.255.255
pool foo
profiles {
http { }
tcp { }
}
snat automap
vlans-disabled
}
root@ve1100(Active)(/Common)(tmos) list ltm pool foo
ltm pool foo {
members {
200.200.200.101:80 {
address 200.200.200.101
}
}
}
[root@ve1100:Active] config curl -I http://172.28.19.252
HTTP/1.0 302 Found
Location: http://172.28.19.252:4030/xyzbnhtyijhgful/ccvvddaa
Server: BigIP
Connection: Keep-Alive
Content-Length: 0
[root@ve1100:Active] config curl -I http://172.28.19.252/test
HTTP/1.0 302 Found
Location: http://172.28.19.252:4030/test
Server: BigIP
Connection: Keep-Alive
Content-Length: 0