# Route to ip within the network, outside of kubernetes

**URL:** <https://community.traefik.io/t/route-to-ip-within-the-network-outside-of-kubernetes/21960>\
**Category:** Traefik v2\
**Tags:** kubernetes-ingress\
**Created:** [March 21, 2024, 3:35pm UTC](https://community.traefik.io/t/route-to-ip-within-the-network-outside-of-kubernetes/21960 "2024-03-21T15:35:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cskiwi](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/cskiwi/32/8418_2.png) [@cskiwi](https://community.traefik.io/u/cskiwi)\
**Post date:** [March 21, 2024, 3:35pm UTC](https://community.traefik.io/t/route-to-ip-within-the-network-outside-of-kubernetes/21960/1 "2024-03-21T15:35:14Z")

</div>

hi, I'm hosting some private stuff on my local Kubernetes cluster that I want available externally, I also have a home assistant setup that's running on a dedicated machine that I want externally available.

All is working however from what I can tell my unify router I can only route all external trafic to a single internal url (so not based on domain).

So I was thinking what if I let it all go to the Traefik and create an ingress route that points to the home assistant ip (10.0.0.250), that way I can tell unifi to send all traffic to traeffik. But how would I setup the ip forward, I can't seem to figure that out. some posts online refer to a File provider, but I can't find any working examples 😕

Could someone here help me?

---

<div class="post-metadata">

**Author:** ![bluepuma77](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bluepuma77](https://community.traefik.io/u/bluepuma77)\
**Post date:** [March 22, 2024, 9:55pm UTC](https://community.traefik.io/t/route-to-ip-within-the-network-outside-of-kubernetes/21960/2 "2024-03-22T21:55:51Z")

</div>

I can just talk about Traefik with Docker. You can set a target service to a fixed external IP ([doc](https://doc.traefik.io/traefik/routing/services/#configuration-examples)), not using any automatic configuration discovery.
