📌  相关文章
📜  微堆栈没有互联网连接 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:01.207000             🧑  作者: Mango

代码示例1
# This answer is based on the default microstack example from site below:
# https://ubuntu.com/openstack/install

# Type the below commands in the machine that hosts microstack
sudo iptables -t nat -A POSTROUTING -s 10.20.20.1/24 ! -d 10.20.20.1/24 -j MASQUERADE
sudo sysctl net.ipv4.ip_forward=1