cloudflared icon indicating copy to clipboard operation
cloudflared copied to clipboard

Cannot get cloudflared proxyaddress and proxyport to work.

Open fzlrog opened this issue 5 years ago • 0 comments

I installed ubuntu on my server, and since then I haven't been able to get my argo tunnel to work.

Here is my /etc/cloudflared/config.yml: tunnel: tunnelnumber here credentials-file: /home/fzlr/.cloudflared/xxxxxxxxxxxxxxx.json originRequest: proxyAddress: mylocalip proxyPort: 4560

ingress:

  • hostname: acs.domain.com service: ssh://MYLOCALIP:1986
  • service: http_status:404

Now my problem is this: When I try to do curl -v 127.0.0.1:4560 I get nothing. HOWEVER I can see with netstat that it IS listening on some RANDOM port, let's say 456789 If I do curl -v 127.0.0.1:456789 I get the 404 page not found. I cannot do it outside the machine. Port 456789 is exposed, but if I try from a different machine on same network I get connection refused. I found out this is because it completely ignores my proxyAddress and proxyPort setting, why is this?

When proxy'ing traffic on 127.0.0.1 I can't reach it from anywhere else. How do I properly set up proxying with cloudflared?

fzlrog avatar Sep 27 '21 09:09 fzlrog