This feels more like a hack than a suitable solution. Also, it does not work with static binaries.
It would be nice to have better support for 464xlat clat on linux. Sure, there are implementations like clatd based on tayga (which, by the way, was last updated in 2011???) or jool (out-of-tree kernel module), but setting them up is rather cumbersome. On Android, I automatically get a
v4-rmnet0
interface when I connect to an IPv6 only network (such as my mobile network), which provides a local IPv4 gateway for legacy applications and websites, that will automatically do nat64/clat. Prefix-discovery is done using DNS64.Me
has 464xlat setup in a container for software that needs v4 as 464xlat is too much v4 for my main system
Me after seeing this
I want to run this instead because the less v4 I can have the better…still only in that container tho.
Edit: apparently this only supports TCP for some reason which makes it more or less useless for my use case. I need UDP support as well.