I tried several of the solutions with no success. Regarding the iptables solution, it seems that some kernel modules like iptables-mangle are missing in the pre-build image and I was curious whether there is a way around building a custom kernel with those modules enabled. However, I didn’t try to modify the host file, which I will do next.