Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛Unable to connect to tunnel on ipv4 only network #1324

Open
bobby-b-song opened this issue Sep 4, 2024 · 1 comment
Open

🐛Unable to connect to tunnel on ipv4 only network #1324

bobby-b-song opened this issue Sep 4, 2024 · 1 comment
Labels
Priority: Normal Minor issue impacting one or more users Type: Bug Something isn't working

Comments

@bobby-b-song
Copy link

Describe the bug
Unable to connect to a cloudflare tunnel using cloudflared in a ipv4 only network.

To Reproduce
Steps to reproduce the behavior:

  1. Configure ssh service based on cloudflare tunnel according to https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/use-cases/ssh/ on server machine.
  2. Connect to tunnel from client machine using commend
cloudflared access ssh --hostname $HOSTNAME --log-level debug --logfile /dev/stdout

Giving error output

{"level":"debug","time":"2024-09-04T12:40:34Z","message":"Websocket request: GET / HTTP/1.1\r\nHost: HOSTNAME\r\nUser-Agent: cloudflared/2024.8.2\r\n\r\n"}
{"level":"error","error":"dial tcp [fd10:aec2:5dae::]:443: connect: network is unreachable","originURL":"https://HOSTNAME","time":"2024-09-04T12:40:36Z","message":"failed to connect to origin"}

Expected behavior
The tunnel should connect without a problem

Environment and versions

  • OS: WSL2 Arch Linux
  • Architecture: AMD64
  • Version: Linux desktop 5.15.153.1-microsoft-standard-WSL2
@bobby-b-song bobby-b-song added Priority: Normal Minor issue impacting one or more users Type: Bug Something isn't working labels Sep 4, 2024
@bobby-b-song bobby-b-song changed the title 🐛Unable to connect to tunnel via ipv4 only tunnel 🐛Unable to connect to tunnel via tunnel on ipv4 only network Sep 4, 2024
@bobby-b-song bobby-b-song changed the title 🐛Unable to connect to tunnel via tunnel on ipv4 only network 🐛Unable to connect to tunnel on ipv4 only network Sep 4, 2024
@bobby-b-song
Copy link
Author

Also dns query result:

$HOSTNAME -> $tunnel-id.cfargotunnel.com -> Only AAAA result pointing to ipv6 address

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Normal Minor issue impacting one or more users Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant