| ▲ | yjftsjthsd-h 3 hours ago | |||||||
I think this would allow that, yes. However, I personally would just do it in userspace, especially for that simple of a use. I'm doing the opposite; I have a webapp that somehow doesn't handle IPv6, so to access it over a pure-v6 network I just run this on the same host:
I believe you could trivially reverse this;
should serve [::1]:8000 as 0.0.0.0:8002 (I don't remember if changing ports was strictly required; that may be a quirk of my exact setup). | ||||||||
| ▲ | rnhmjoj 2 hours ago | parent [-] | |||||||
The point of Jool and similar tools (there is also one called Tayga that runs in userspace, if you want) is to translate network traffic between multiple hosts, where some only have IPv6 and others only IPv4 addresses. If your machine has both IPv6 and IPv4 addresses you don't need to any translation. | ||||||||
| ||||||||