vi /etc/sysctl.conf 找到net.ipv4.ip_forward 设置允许转发 # Controls IP packet forwarding net.ipv4.ip_forward = 1 #使之生效 sysctl -p #重启docker systemctl restart docker
原文地址:https://www.cnblogs.com/archer-wen/p/11774297.html
时间: 2024-10-07 12:21:57
vi /etc/sysctl.conf 找到net.ipv4.ip_forward 设置允许转发 # Controls IP packet forwarding net.ipv4.ip_forward = 1 #使之生效 sysctl -p #重启docker systemctl restart docker
原文地址:https://www.cnblogs.com/archer-wen/p/11774297.html