Forum Discussion

Wasfi_Bounni's avatar
Wasfi_Bounni
Icon for Cirrocumulus rankCirrocumulus
Nov 23, 2020

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

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

  • yes, quite simply.

    when CLIENT_ACCEPTED {
      if { [IP::addr [IP::local_addr] equals "1.2.3.4/24" } {
        virtual /Common/myOtherVirtualServer
      }
    }
  • yes, quite simply.

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