Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Can an i-rule redirect all traffic hitting a Forwarding IP vserver to a standard Vserver

Wasfi_Bounni
Cirrocumulus
Cirrocumulus

Hi;

 

I wonder if an i-rule can be written to redirect all traffic arriving at a "Forwarding IP" Virtual Server with the destination address of 10.10.10.0/24 to a "Standard or Fast L4 Virtual Server with the destination IP address of 0.0.0.0/0 and ports of * " . The traffic here is UDP.

 

So effectively, the Forwarding IP virtual server must redirect UDP traffic to the Fast L4 virtual server before it routes it to the subnet 10.10.10.0/24.

 

Can the same be done at a Forwarding L2 virtual server?

 

 

Kindly

Wasfi

1 ACCEPTED SOLUTION

PeteWhite
F5 Employee
F5 Employee

yes, quite simply.

when CLIENT_ACCEPTED {
  if { [IP::addr [IP::local_addr] equals "1.2.3.4/24" } {
    virtual /Common/myOtherVirtualServer
  }
}

View solution in original post

1 REPLY 1

PeteWhite
F5 Employee
F5 Employee

yes, quite simply.

when CLIENT_ACCEPTED {
  if { [IP::addr [IP::local_addr] equals "1.2.3.4/24" } {
    virtual /Common/myOtherVirtualServer
  }
}