Forum Discussion

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

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 Serve...
  • PeteWhite's avatar
    Nov 23, 2020

    yes, quite simply.

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