参考链接:
https://www.cnblogs.com/hanyifeng/p/6723964.html
总结:回环lo接口上的 127.0.0.1 地址,不允许发到设备外部,sysctl -w net.ipv4.conf.eth0.route_localnet=1 开启route_localnet后,数据包就可以在lo上做nat
参考链接:
https://www.cnblogs.com/hanyifeng/p/6723964.html
总结:回环lo接口上的 127.0.0.1 地址,不允许发到设备外部,sysctl -w net.ipv4.conf.eth0.route_localnet=1 开启route_localnet后,数据包就可以在lo上做nat