I started python -m http.server -b 127.0.0.1 8193
and ran socat TCP6-LISTEN:8192,reuseaddr,fork TCP:127.0.0.1:8193 to forward all IPv6 incoming traffic at [::1]:8192 to 127.0.0.1:8193
But I can even get the data using curl 127.0.0.1:8192
Can someone please explain? I tried asking GPT-3.5 and Gemini, but didn't get any satisfactory answer.
netstat -tulpn output
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp6 0 0 :::8192 :::* LISTEN 7448/socat
My final goal is to use this to allow playing games which support IPv4 over IPv6.
What’s the result of running curl on your ipv6 loopback on port 8192? Do you still get the response?
Yeah, curl http://[::1]:8192 works as expected.
Ah nvm, figured it out on RTFM.
socat TCP6-LISTEN:8192,reuseaddr,fork,ipv6only TCP:127.0.0.1:8193 works as expected in IPv6 only mode
image.png
trying to mark the stream resolved
Please resolve this stream.
Srid has marked this topic as resolved.
Last updated: Oct 26 2025 at 17:45 UTC