Forum Discussion

Pete_Renaud_734's avatar
Pete_Renaud_734
Icon for Nimbostratus rankNimbostratus
Apr 14, 2009

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?

1 Reply

  • 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