Forum Discussion

david_baumgart_'s avatar
Nov 07, 2016

Locking down the ports of a Wildcard FTPS Server

Hey guys. I recently set up a wildcard FTPS server per the following:   https://support.f5.com/kb/en-us/solutions/public/9000/300/sol9347.html1   After some playing with it, I finally got this ...
  • david_baumgart_'s avatar
    Nov 07, 2016

    I actually found/modified an iRule to fit my needs. If anybody in the future comes looking at this for an answer to this, here is my iRule:

    when CLIENT_ACCEPTED {    if {([TCP::local_port] == 21 ) ||  ([TCP::local_port] >= XXXXXX ) &&
    ([TCP::local_port] <= YYYYYY) } {      pool FTPS_POOL_NAME    } else reject}