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

-L only binds to IPv4 127.0.0.1, not IPv6 ::1 #410

Closed
ygoe opened this issue Feb 11, 2025 · 2 comments
Closed

-L only binds to IPv4 127.0.0.1, not IPv6 ::1 #410

ygoe opened this issue Feb 11, 2025 · 2 comments

Comments

@ygoe
Copy link

ygoe commented Feb 11, 2025

I'm trying out wstunnel with a simple netcat TCP server. Outside the ws tunnel on the local side I connect to "localhost". Netcat seems to resolve this as ::1 first but fails to connect. Then after a short delay it connects to 127.0.0.1 and then it works.

A quick check shows that wstunnel is only listening on 127.0.0.1 but not on ::1. Can this be changed? I only have the -L argument, no address for localhost.

Describe your wstunnel setup

  • client: wstunnel client -L tcp://9999:127.0.0.1:2345 wss://myhostname:443
  • server: doesn't matter

Desktop (please complete the following information):

  • OS: Windows 11

I'm using the latest release wstunnel 10.1.9.

Copy link

Hello @ygoe 👋

This issue is being automatically closed because it does not follow the issue template.

@ygoe
Copy link
Author

ygoe commented Feb 11, 2025

Huh? What's that? The template doesn't work. Should I just use it anyway and copy my question somewhere into it even when it doesn't make any sense?!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant