wfg / docker-openvpn-client

OpenVPN client with killswitch and proxy servers; built on Alpine
MIT License
353 stars 107 forks source link

socks5 cannot access UDP #105

Open deixl opened 1 year ago

deixl commented 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