inlets / inlets-pro

Secure HTTP and TCP tunnels that just work
https://inlets.dev
532 stars 48 forks source link

Does each subdomain require its own tunnel? #31

Closed jharmon96 closed 2 years ago

jharmon96 commented 2 years ago

I'm subscribed to Inlets Pro and am attempting to route various subdomains via a single tunnel. For example, I might have a Public IP in DigitalOcean of 209.99.123.567 with a primary domain of my-domain.org I want various subdomains to tunnel through that IP, for example:

argocd.my-domain.org
prometheus.my-domain.org
bingbong.my-domain.org

However when I attempt this the browser hangs. It works when I only use my-domain.org.

My current configuration is that I used inletsctl to create the Droplet and establish the connection from a self-hosted VM on my LAN. I have the UPSTREAM set to the local IP (ex: 192.168.1.2) of a loadbalancer (Traefik) running in my cluster. The PORTS forwarded are 80,443.

My domain is hosted on GoDaddy and I have an A record for both the domain and subdomain configured. This setup works when forwarding traffic through my ISP's Public IP.

I intend to ultimately use the Inlets Operator, just wanted to try this first.

Any advice on how I fix el thing?

Thanks! Jack

jharmon96 commented 2 years ago

nvm. solution was to use inlets-pro client and not inlets-pro http client or inlets-pro tcp client