wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh
# 客户端配置文件client.ovpn中添加
redirect-gateway def1
[Interface]
PrivateKey = xxx
Address = 192.168.89.1/32
DNS = 119.29.29.29
[Peer]
PublicKey = xxx
AllowedIPs = 0.0.0.0/0
Endpoint = x.x.x.x:11112
PersistentKeepalive = 15