Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Answers

Port Translation/Irule query

Hello Team,

My VS is listening to port no.80 and backend servers are listening on port no.443. Port translation is enabled.

Do I need to use the irule to redirect the HTTP request on VS to HTTPS page "OR" Port translation is sufficient and no iRule is required here?

Let me know.

Thanks,

Dayesh

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

You don't have to use iRule to redirect from http to https. Port translation will do it. however you will have to use serverssl profile to allow encrypted session between F5 and server.

This is my thinking not sure F5 experts thinks elsewise.

0
Comments on this Answer
Comment made 1 week ago by Dayesh 60

Thanks Kapil.

Completely understand the prerequisites of the profiles.

I need experts to confirm if port translation would do the redirect and no irule will be required.

Thanks

Dayesh

0
Comment made 1 week ago by iaine 764

Hi - Port translation is sufficient for PAT to work from port 80 to 443. As mentioned above, if the serverside connection is encrypted for the 443 traffic then you'll need a serverssl profile configured.

If you wanted your clients to connect on 443 rather than 80, then you would need the redirect irule to switch the clientside connection to 443

0
Comment made 1 week ago by Dayesh 60

Thanks Iaine.

If I wanted my client to connect on 443 instead of 80, that would require a whole new virtual server configuration altogether along with the client side SSL profile.

Irule would redirect the traffic from port 80 towards VS listening on port 443...isn't it?

Let me know if you think otherwise.

Thanks,

Dayesh

0
Comment made 1 week ago by iaine 764

Hi Dayesh, yep that's correct

0
Comment made 6 days ago by Dayesh 60

Thanks Iaine

0