Proxies and persistence

Source address persistence profiles don’t work when a client traverses through a proxy. Is there some way to incorporate source address and source port in a iRule, basically to persist on the source port being used by the client?

I believe you could do this by the following examples using Universal Persistence

Both Client and source port

when CLIENT_ACCEPTED { 
   persist uie [concat [IP::remote_addr] [TCP::remote_port]]

or

when CLIENT_ACCEPTED { 
   persist uie [concat [IP::remote_addr] [UDP::remote_port]]

or

Just the source ports

when CLIENT_ACCEPTED { 
   persist uie [TCP::remote_port]

or

when CLIENT_ACCEPTED { 
   persist uie [UDP::remote_port]

Hope this helps

CB