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

rsub doesn't bind IPv6 #64

Open
brianbienvenu opened this issue Jul 27, 2016 · 1 comment
Open

rsub doesn't bind IPv6 #64

brianbienvenu opened this issue Jul 27, 2016 · 1 comment

Comments

@brianbienvenu
Copy link

When connecting to IPv6 remote hosts, I get an error using rmate:
connect_to 127.0.0.1: unknown host (nodename nor servname provided, or not known)

If I change RemoteForward 127.0.0.1:52698 127.0.0.1:52698 to RemoteForward 127.0.0.1:52698 localhost:52698, I get this:
connect_to localhost port 52698: failed.

This is because rsub isn't binding tcp6 port 52698 on my local computer:

$ netstat -anl | grep 698
tcp4       0      0  127.0.0.1.52698        *.*                    LISTEN

A terrible workaround:
socat TCP6-LISTEN:52698,fork,bind=[::1] TCP4:127.0.0.1:52698

Is there a nice way to add IPv6 support to rsub?

@spajak
Copy link

spajak commented Jun 18, 2023

On Windows client my workaround is to use port proxy:

 netsh interface portproxy add v6tov4 listenaddress=::1 listenport=52698 connectaddress=127.0.0.1 connectport=52698

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

No branches or pull requests

2 participants