Forum Discussion

dp_119903's avatar
dp_119903
Icon for Cirrostratus rankCirrostratus
Jun 20, 2017

Proxy to an external HTTP server

This seems fairly simple, but I'm having a bit of trouble getting this working.

 

I have setup a million virtual servers that work as a proxy for a backend web server, but for whatever reason it doesn't seem as straight forward for an external web server.

 

So here's the deal, if I want users who hit my F5 using to be proxied (not redirected) to what do I need to do?

 

I figured it would be as simple as setting up as a FQDN node and assigning it to a pool and making that the pool for the VS, but that doesn't seem to be the case.

 

3 Replies

  • Hi,

     

    If you want to hide the real URL from the client you can use rewrite profile:

     

    Create Rewrite profile:

     

    Navigate to “Local Traffic ›› Profiles : Services : Rewrite”

     

    Click “Create New Profile”

     

    Type name for your profile and select "rewrite-uri-translation" for Parent profile.

     

    Navigate to “URI Rules”

     

    Click on “Add” and for “Client URI” type “/” and for “Server URI” type “http://www.google.com/

     

    "Rule Type" should be "Both"

     

    Click “OK”

     

    Assign the profile to the VIP

     

    Regards

     

  • P_K's avatar
    P_K
    Icon for Altostratus rankAltostratus

    If the request is being proxied out back to internet, you should be using serverssl profile on your https VS with pool member listening on 443.

     

    External servers might not allow http requests and won't listen on 80 depending on how they were setup.

     

    Try using the default serverSSL profile and see if that works!