Forum Discussion

Bfaver2_169385's avatar
Bfaver2_169385
Icon for Nimbostratus rankNimbostratus
Feb 17, 2016

Forward Proxy 3.2 locked to a single destination domain

What's the best way to add a filter to the forward proxy 3.2 irule that would limit the connections to only a single domain.

 

In other words, if you're not bound for something.com, drop the connection. Otherwise process the rest of the irule.

 

1 Reply

  • Actually, I just got it.

     

    I added the following line and it's working as expected.

     

    if {not ([HTTP::host] contains "something.com")}{ reject }