Forum Discussion

jklemm2000's avatar
jklemm2000
Icon for Nimbostratus rankNimbostratus
Nov 08, 2007

FTP irule

I am currently running v9.4.1 and need an irule that will be able to use an FTP profile when FTP traffic hits the virtual server but disable the rule when FTP traffic is not present. This should allow for me to SSH, Telnet, or anything else to the server when FTP is not present, but when FTP traffic is present then use the profile. Can this be done?

4 Replies

  • Deb_Allen_18's avatar
    Deb_Allen_18
    Historic F5 Account
    You'd be better off setting up 2 virtual servers, one specific to FTP on the appropriate port with tcp + ftp profiles attached, the other on a wildcard port with tcp profile only attached.

     

     

    /deb
  • Deb_Allen_18's avatar
    Deb_Allen_18
    Historic F5 Account
    Sorry, hit Submit too soon:

     

    FTP traffic will use the more specific VS, all other traffic will match the wildcard.

     

     

    /d
  • I kinda figured that. I was hoping for an irule for this so I can consolidate the VS's I have. Thanks
  • Deb_Allen_18's avatar
    Deb_Allen_18
    Historic F5 Account
    Yeah, sorry.

     

     

    We have protocol-specific profile disabling in iRules for HTTP & HTTPS, but not for FTP.

     

     

    /deb