# 1 IngressRouteTCP vs Multiple entrypoints

**URL:** <https://community.traefik.io/t/1-ingressroutetcp-vs-multiple-entrypoints/8843>\
**Category:** Traefik v2\
**Tags:** kubernetes-crd\
**Created:** [December 2, 2020, 3:27pm UTC](https://community.traefik.io/t/1-ingressroutetcp-vs-multiple-entrypoints/8843 "2020-12-02T15:27:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Damras610](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/damras610/32/2985_2.png) [@Damras610](https://community.traefik.io/u/Damras610)\
**Post date:** [December 2, 2020, 3:27pm UTC](https://community.traefik.io/t/1-ingressroutetcp-vs-multiple-entrypoints/8843/1 "2020-12-02T15:27:19Z")

</div>

Hello,

I have a question about a situation I'm facing.

I would like to declare an IngressRouteTCP with multiple entrypoints. Is it possible to keep the port of the entrypoint when routing to the service ?

To illustrate it, here is my IngressRouteTCP

```auto
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteTCP
metadata:
  name: rabbitmq
  namespace: my-ns
spec:
  entryPoints:
    - mqtt
    - amqp
    - rabbitmq-stomp
    - rabbitmq-web
  routes:
  - match: HostSNI(`mq.host.com`)
    kind: Rule
    services:
    - kind: Service
      name: rabbitmq
      namespace: my-ns
      # port: --> the port depends on the entrypoint.

```

I would like that the _rabbitmq_ service is called to the same port of the entrypoint. Is it possible to do it with only one IngressRouteTCP ? or I have to do 4 different IngressRoutesTCP, one for each entrypoint ?

I hope I'm clear enough ^^.

Thanks by advance. 🙂
