本文章来源于:https://fuckcloudnative.io/posts/wireguard-docs-practice/
# 添加/删除 VPN 路由
$ ip route add 192.0.2.3/32 dev wg0
$ ip route delete 192.0.2.3/32 dev wg0
ip route add 172.18.1.0/24 via 10.0.0.100 dev wg0
本文章来源于:https://fuckcloudnative.io/posts/wireguard-docs-practice/
# 添加/删除 VPN 路由
$ ip route add 192.0.2.3/32 dev wg0
$ ip route delete 192.0.2.3/32 dev wg0
ip route add 172.18.1.0/24 via 10.0.0.100 dev wg0