Hello,
I've been using this solution since a while but sincs 2 weeks the tunnel is no longer working. I don't know whether any changes were made to the proxy server, but I used to be able to create an openvpn http based tunnel to my home-LAN just fine up till then.
Here is my client config.
client
script-security 2 system
remote 91.53.91.81 443
dev tap
nobind
# added or proxy test
http-proxy 172.28.43.20 8080 c:\\temp\\passwd_file.txt basic
http-proxy-option AGENT Mozilla/5.0+(Windows;+U;+Windows+NT+5.0;+en-GB;+rv:1.7.6)+Gecko/20050226+Firefox/1.0.1
cipher AES-128-CBC
proto tcp-client
ca ca.crt
cert kflpc.mit.be.crt
key K:\\personal\\kflpc.mit.be.key
up "C:\\temp\\routes_up.bat"
comp-lzo
persist-key
persist-tun
keepalive 10 120
verb 4
In the openvpn client log I see:
Tue Jul 26 15:03:17 2011 us=730000 disable_nbt = DISABLED
Tue Jul 26 15:03:17 2011 us=730000 OpenVPN 2.1_rc15 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] built on Nov 19 2008
Tue Jul 26 15:03:17 2011 us=730000 WARNING: No server certificate verification method has been enabled. See
http://openvpn.net/howto.html#mitm for more info.
Tue Jul 26 15:03:17 2011 us=792000 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Tue Jul 26 15:03:17 2011 us=792000 NOTE: --script-security method='system' is deprecated due to the fact that passed parameters will be subject to shell expansion
Tue Jul 26 15:03:18 2011 us=229000 LZO compression initialized
Tue Jul 26 15:03:18 2011 us=229000 Control Channel MTU parms [ L:1592 D:140 EF:40 EB:0 ET:0 EL:0 ]
Tue Jul 26 15:03:18 2011 us=245000 Data Channel MTU parms [ L:1592 D:1450 EF:60 EB:135 ET:32 EL:0 AF:3/1 ]
Tue Jul 26 15:03:18 2011 us=245000 Local Options String: 'V4,dev-type tap,link-mtu 1592,tun-mtu 1532,proto TCPv4_CLIENT,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Tue Jul 26 15:03:18 2011 us=245000 Expected Remote Options String: 'V4,dev-type tap,link-mtu 1592,tun-mtu 1532,proto TCPv4_SERVER,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Tue Jul 26 15:03:18 2011 us=245000 Local Options hash (VER=V4): '39ac68d4'
Tue Jul 26 15:03:18 2011 us=245000 Expected Remote Options hash (VER=V4): 'de0ebdfe'
Tue Jul 26 15:03:18 2011 us=245000 Attempting to establish TCP connection with 172.28.43.20:8080
Tue Jul 26 15:03:18 2011 us=245000 TCP connection established with 172.28.43.20:8080
Tue Jul 26 15:03:18 2011 us=245000 Send to HTTP proxy: 'CONNECT 91.53.91.81:443 HTTP/1.0'
Tue Jul 26 15:03:18 2011 us=245000 Attempting Basic Proxy-Authorization
Tue Jul 26 15:03:20 2011 us=273000 HTTP proxy returned: 'HTTP/1.1 200 Connection established'
Tue Jul 26 15:03:22 2011 us=270000 Socket Buffers: R=[8192->8192] S=[8192->8192]
Tue Jul 26 15:03:22 2011 us=270000 TCPv4_CLIENT link local: [undef]
Tue Jul 26 15:03:22 2011 us=270000 TCPv4_CLIENT link remote: 172.28.43.20:8080
Tue Jul 26 15:03:22 2011 us=301000 Connection reset, restarting [0]
Tue Jul 26 15:03:22 2011 us=301000 TCP/UDP: Closing socket
Tue Jul 26 15:03:22 2011 us=301000 SIGUSR1[soft,connection-reset] received, process restarting
Tue Jul 26 15:03:22 2011 us=301000 Restart pause, 5 second(s)
Any idea what's going wrong or how I can run further tests?
many thanks
Lowieken