-
参考 https://www.ishells.cn/archives/openvpn-server-client-deploy
-
服务器上开启 ip 包转发和 nat 转换
echo 1 > /proc/sys/net/ipv4/ip_forward iptables -P INPUT ACCEPT iptables -P FORWARD ACCEPT iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
-
客户端上需要主动或被动设置 route 表