Forum Discussion

turki_aldosseri's avatar
turki_aldosseri
Icon for Nimbostratus rankNimbostratus
Aug 10, 2017

add target ip

i have Rule it is just request source IP without destination IP

 

i think i can add it by IRule

 

any one can help me and tell me how ?

 

    • turki_aldosseri's avatar
      turki_aldosseri
      Icon for Nimbostratus rankNimbostratus

      ok

       

      i have request from http .

       

      this request is give me just source IP and i need to know about the destination IP but it is not give me that what is the best rule can i write to solve it ?

       

    • turki_aldosseri's avatar
      turki_aldosseri
      Icon for Nimbostratus rankNimbostratus

      ok

       

      i have request from http .

       

      this request is give me just source IP and i need to know about the destination IP but it is not give me that what is the best rule can i write to solve it ?

       

  • Hi,

    the destination IP is the virtual server IP... you can use

    [IP::local_addr]
    in the irule to get destination IP.