Open deixl opened 1 year ago
I successfully ran the openvpn configuration with the following command, and then curl -x socks5://127.0.0.1:1080 https://www.cloudflare.com/cdn-cgi/trace -4 successfully used the VPN network, but I found socks5 can't pass through UDP
docker run -it --name=openvpn-client --cap-add=NET_ADMIN -p 1080:1080 -e SOCKS_PROXY=on --device=/dev/net/tun -v /root/openvpn/:/data/vpn ghcr.io/wfg/openvpn-client
I successfully ran the openvpn configuration with the following command, and then curl -x socks5://127.0.0.1:1080 https://www.cloudflare.com/cdn-cgi/trace -4 successfully used the VPN network, but I found socks5 can't pass through UDP
docker run -it --name=openvpn-client --cap-add=NET_ADMIN -p 1080:1080 -e SOCKS_PROXY=on --device=/dev/net/tun -v /root/openvpn/:/data/vpn ghcr.io/wfg/openvpn-client