Reporting back… here’s what I was able to do.
For reference, the domain I’m testing on does have Spectrum TCP, but it doesn’t look like that matters.
docker container i’m using:
"Environmental variables map[TUNNEL_HOSTNAME:a.example.com TUNNEL_URL:tcp://haproxy:7198]"
time="2020-04-27T01:40:40Z" level=info msg="Proxying tunnel requests to http://127.0.0.1:32841"
time="2020-04-27T01:40:40Z" level=info msg="Connected to ATL" connectionID=0
With this I see the tunnel in the network app and DNS app.
Now, on Windows:
.\cloudflared.exe access tcp --hostname a.example.com --url 127.0.0.1:7198
INFO Start Websocket listener on: 127.0.0.1:7198
Go to the URL in my browser (Access is on and protecting subdomain at this point):
A browser window should have opened at the following URL:
If the browser failed to open, please visit the URL above directly in your browser.
ERRO failed to connect to https://a.example.com error="websocket: bad handshake"
And, with that error, trying to connect via tcp to 127.0.0.1 (or
a.example.com) doesn’t work.