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:
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
toRemoteForward 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:
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?