# Modification Request - Force all the traffic to https Port 443

**URL:** <https://community.f5.com/t/modification-request-force-all-the-traffic-to-https-port-443/16331>\
**Category:** Technical Forums\
**Tags:** tmsh, ltm, application-delivery\
**Created:** [October 18, 2016, 11:58am UTC](https://community.f5.com/t/modification-request-force-all-the-traffic-to-https-port-443/16331 "2016-10-18T11:58:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chethan\_181144](https://avatars.discourse-cdn.com/v4/letter/c/13edae/32.png) [@chethan\_181144](https://community.f5.com/u/chethan_181144)\
**Post date:** [October 18, 2016, 11:58am UTC](https://community.f5.com/t/modification-request-force-all-the-traffic-to-https-port-443/16331/1 "2016-10-18T11:58:38Z")

</div>

Hi Team ,

I have got below modification request to force all the traffic to https , Kindly check and advice how to achieve this ?

**Requested modifications to 10.206.248.65 on bigipqah:**

Port 80 (CI-TEST.INT.MANGALORE.COM-8098) --- please force all the traffic to https

Port 443 (CI-TEST.INT.MANGALORE.COM-8098)

ltm virtual **CI-TEST.INT.MANGALORE.COM-80** { destination 10.206.248.65:80

} ltm virtual **CI-TEST.INT.MANGALORE.COM-443** { destination 10.206.248.65:443

**Current VIP and POOL configuration as below** :

root@(bigipqah1)(cfg-sync Changes Pending)(Active)(/Common)(tmos) **list ltm virtual CI-TEST.INT.MANGALORE.COM-80**

ltm virtual CI-TEST.INT.MANGALORE.COM-80 { destination 10.206.248.65:80 ip-protocol tcp mask 255.255.255.255 pool CI-TEST.INT.MANGALORE.COM-8098 profiles { http { } oneconnect { } tcp { } } source 0.0.0.0/0 source-address-translation { type automap } vs-index 1564 }

root@(bigipqah1)(cfg-sync Changes Pending)(Active)(/Common)(tmos) **list ltm pool CI-TEST.INT.MANGALORE.COM-8098**

ltm pool CI-TEST.INT.MANGALORE.COM-8098 { members { 10.206.142.239:8098 { address 10.206.142.239 session monitor-enabled state up } } monitor tcp }

---

<div class="post-metadata">

**Author:** ![samstep](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@samstep](https://community.f5.com/u/samstep)\
**Post date:** [October 18, 2016, 12:34pm UTC](https://community.f5.com/t/modification-request-force-all-the-traffic-to-https-port-443/16331/2 "2016-10-18T12:34:01Z")

</div>

SOL26312346: Configuring a virtual server to automatically redirect HTTP requests to HTTPS (12.0.0 and later)

> **[404 Page not found | BIG-IP Documentation](https://techdocs.f5.com/kb/en-us/solutions/public/k/26/sol26312346.html)**
>
> Usage information and technical documentation for BIG-IP and other related F5 products

---

<div class="post-metadata">

**Author:** ![Jinshu](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@Jinshu](https://community.f5.com/u/Jinshu)\
**Post date:** [October 18, 2016, 1:47pm UTC](https://community.f5.com/t/modification-request-force-all-the-traffic-to-https-port-443/16331/3 "2016-10-18T13:47:41Z")

</div>

Attach your irule **GENERIC\_80\_TO\_443\_REDIR** to HTTP VIP **CI-TEST.INT.MANGALORE.COM-80**.

It will redirect all the traffic to https.

-Jinshu
