For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

lyrakatar_27897's avatar
lyrakatar_27897
Icon for Nimbostratus rankNimbostratus
Jul 15, 2016

Redirect/Forward all Virtual Server Traffic to another Virtual Server

Guys,

 

Im looking for an irule to forward all traffic heading for one virtual to another virtual

 

the idea's I had for irules are:

 

when FLOW_INIT { virtual /Common/virtual_name }

 

Or

 

This one doesn't even make an irule

 

when RULE_INIT { virtual /Common/virtual_name }

 

2 Replies

  • JG's avatar
    JG
    Icon for Cumulonimbus rankCumulonimbus

    Not sure why you want to do this in an irule. But you could create a pool with the target virtual server as the pool member, and then select that pool in an irule attached to the virtual server that you want to do the forwarding.

     

  • I would say use the same pool for both VS as the final destination will be the same for both VS and hence, the content served will be the same. If you still insist on moving traffic from one virtual to another, check this thread out for options.