手动操作路由表。 需要 root 权限。 更多信息:https://keith.github.io/xcode-man-pages/route.8.html.
sudo route add "{{路由 ip 地址}}" "{{网关地址}}"
sudo route add "{{子网 ip}}/24" "{{网关地址}}"
sudo route -t add "{{路由 ip 地址}}/24" "{{网关地址}}"
sudo route flush
sudo route delete "{{路由 ip 地址}}/24"
sudo route get "{{目标}}"