I can't get openvpn to connect through my socks proxy server, and searching
around seem to find other users with the same problem, but no known
solution.

version:
OpenVPN 2.2.1 x86_64-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia]
[MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Feb 27 2013

My config is setup like this:
client
dev tun
proto tcp
socks-proxy 192.168.147.1 101
remote ec2-xx-xx-xx-xx.compute-1.amazonaws.com 1194
ca ca.crt
cert client1.crt
key client1.key

Socks proxy works fine with other apps, but with openvpn I get the
following:
Oct 23 17:12:46 ovpn-client[1887]: TCP connection established with [AF_INET]
192.168.147.1:101
Oct 23 17:12:51 ovpn-client[1887]: socks_handshake: TCP port read timeout
expired: Operation now in progress (errno=115)

I found an old user list post that suggest this might be due to an issue
that openvpn has with non-blocking IO?
http://comments.gmane.org/gmane.network.openvpn.user/26898

But I don't see anything in the openvpn bug tracker or dev mailing list
archives.

Does this issue ring a bell for anyone? Any known workaround?

thanks
Steve

Reply via email to