# Internal to external generic proxy possible?

**URL:** <https://community.f5.com/t/internal-to-external-generic-proxy-possible/49255>\
**Category:** Technical Forums\
**Tags:** irules, big-ip, application-delivery\
**Created:** [August 30, 2018, 3:34pm UTC](https://community.f5.com/t/internal-to-external-generic-proxy-possible/49255 "2018-08-30T15:34:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![patonbike](https://avatars.discourse-cdn.com/v4/letter/p/58956e/32.png) [@patonbike](https://community.f5.com/u/patonbike)\
**Post date:** [August 30, 2018, 3:34pm UTC](https://community.f5.com/t/internal-to-external-generic-proxy-possible/49255/1 "2018-08-30T15:34:33Z")

</div>

I have setup internal to external proxies for single hostnames with the BIG-IP before but the setup is a little clunky. Mainly because you have to have a VIP for each hostname and when put in the hostname in the node or pool, it resolves the DNS for the hostname and adds the node in as a IP. If DNS resolution chhanges then the proxy breaks.

Is it possible, perhaps via iRule to do a DNS lookup in realtime on the pool member and then set the node to what DNS resolves?

What I would like to do is have a generic virtual server which could handle internal to external proxy for any hostname (not just a single hostname).

Why on earth would we do this you ask… right now we do it to handle some TLS1.0 to TLS1.2 connections for apps that can’t yet talk in TLS1.2 but our end points have already forced TLS1.2 and we have no choice in that matter.

---

<div class="post-metadata">

**Author:** ![Niels\_van\_Sluis](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/niels_van_sluis/32/3759_2.png) [@Niels\_van\_Sluis](https://community.f5.com/u/Niels_van_Sluis)\
**Post date:** [August 30, 2018, 5:10pm UTC](https://community.f5.com/t/internal-to-external-generic-proxy-possible/49255/2 "2018-08-30T17:10:28Z")

</div>

Maybe this iRule can help you out:

> **[DevCentral - An F5 Technical Community](https://community.f5.com/)**
>
> DevCentral is an online technical community where engineers and practitioners collaborate, share knowledge, and solve problems related to F5 technologies and industry trends.

I used a slightly modified version of this iRule for a customer to allow legacy servers with outdated cipher suites and/or TLS implementations to connect to the internet.

---

<div class="post-metadata">

**Author:** ![stan\_piron](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@stan\_piron](https://community.f5.com/u/stan_piron)\
**Post date:** [August 31, 2018, 8:18am UTC](https://community.f5.com/t/internal-to-external-generic-proxy-possible/49255/3 "2018-08-31T08:18:41Z")

</div>

Hi,

No need to use an irule… look at [this article](https://devcentral.f5.com/codeshare/use-f5-ltm-as-http-proxy-1145)
