# 启动服务
docker run --name=vpnc -it --privileged --net=host \
-v /lib/modules:/lib/modules:ro \
-e VPN_SERVER_IPV4="vpn服务端地址" \
-e VPN_PSK="psk密钥" \
-e VPN_USERNAME="vpn账号" \
-e VPN_PASSWORD="vpn密码" \
ubergarm/l2tp-ipsec-vpn-client
# 添加目标访问路由表
ip route add 10.0.0.100/32 dev ppp0