- 在Quick Connect Linux VM命令列中輸入以下內容:
sudo vim /etc/sysctl.conf - 將以下內容新增至檔案,並在完成後儲存:
net.ipv4.ip_forward = 1 net.ipv6.conf.all.forwarding = 1 net.ipv4.conf.all.accept_redirects = 0 net.ipv4.conf.all.send_redirects = 0 - 輸入以下命令以使用新設定更新核心,並確保它們在重新開機後仍然存在:
sudo sysctl --load --all