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

Hot answers tagged


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 ...


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: DNAT udp -- anywhere anywhere udp dpt:domain to: DNAT tcp -- anywhere anywhere ...

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