Hello,
i have a problem connecting to my openvpn server over a http proxy.
I can connect to my server over networks without proxy.
My Configs:
Server:
port 443
proto tcp
dev tun0
mssfix
tun-mtu 1500
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key # This file should be kept secret
dh /etc/openvpn/easy-rsa/keys/dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 208.67.220.220"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
Client
client
dev tun0
proto tcp
remote 83.215.62.244 443
resolv-retry infinite
nobind
persist-key
persist-tun
http-proxy-retry # retry on connection failures
http-proxy proxy.salzburg.at 81
ca C:\\ca.crt
cert C:\\anton.crt
key C:\\anton.key
ns-cert-type server
comp-lzo
verb 3
When i try to connect i get the following error:
Sat Dec 22 20:47:48 2012 OpenVPN 2.2.2 Win32-MSVC++ [SSL] [LZO2] [PKCS11] built on Dec 15 2011
Sat Dec 22 20:47:48 2012 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Sat Dec 22 20:47:48 2012 LZO compression initialized
Sat Dec 22 20:47:48 2012 Control Channel MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]
Sat Dec 22 20:47:48 2012 Socket Buffers: R=[65536->65536] S=[65536->65536]
Sat Dec 22 20:47:48 2012 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 ET:0 EL:0 AF:3/1 ]
Sat Dec 22 20:47:48 2012 Local Options hash (VER=V4): '69109d17'
Sat Dec 22 20:47:48 2012 Expected Remote Options hash (VER=V4): 'c0103fa8'
Sat Dec 22 20:47:48 2012 Attempting to establish TCP connection with 192.168.248.1:8080
Sat Dec 22 20:47:48 2012 TCP connection established with 192.168.248.1:8080
Sat Dec 22 20:47:48 2012 Send to HTTP proxy: 'CONNECT 83.215.62.244:443 HTTP/1.0'
Sat Dec 22 20:47:48 2012 Attempting Basic Proxy-Authorization
Sat Dec 22 20:47:53 2012 recv_line: TCP port read timeout expired
Sat Dec 22 20:47:53 2012 TCP/UDP: Closing socket
Sat Dec 22 20:47:53 2012 SIGTERM[soft,init_instance] received, process exiting
Any help would be highly appreciated.