We’re rewarding the question askers & reputations are being recalculated! Read more.

Hot answers tagged

2

You can't. As cristian-rodríguez mentioned above, it was strictly designed to provide services to loopback only. Not even an alternative solution using net.ipv4.conf.all.route_localnet=1 + iptables NAT (such as in 1,2,3) will work since systemd-resolve explicitly inspects if the destination is outside the loopback network. See the code below for static void ...


1

So, the output of iptables -t nat -L showed: Chain PREROUTING (policy ACCEPT) target prot opt source destination DNAT tcp -- anywhere anywhere tcp dpt:domain to:8.8.8.8 DNAT udp -- anywhere anywhere udp dpt:domain to:8.8.8.8 DNAT tcp -- anywhere anywhere ...


Only top voted, non community-wiki answers of a minimum length are eligible