connect reset through http-proxy

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
cyu021
OpenVpn Newbie
Posts: 1
Joined: Mon May 06, 2013 5:10 am

connect reset through http-proxy

Post by cyu021 » Mon May 06, 2013 5:14 am

Hi all,

I tried to establish to my openvpn server through a http-proxy, but my connection always got reset.
Following is the log I copy and paste from client's log.
Any comment is appreciated.

btw, the proxy works fine with pure web browsing.

Mon May 06 11:26:54 2013 us=242330 MANAGEMENT: CMD 'proxy HTTP localhost 3128'
Mon May 06 11:26:55 2013 us=242457 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Mon May 06 11:26:55 2013 us=242957 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Mon May 06 11:26:55 2013 us=387975 LZO compression initialized
Mon May 06 11:26:55 2013 us=387975 Control Channel MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]
Mon May 06 11:26:55 2013 us=388475 Socket Buffers: R=[8192->8192] S=[8192->8192]
Mon May 06 11:26:55 2013 us=388475 MANAGEMENT: >STATE:1367810815,RESOLVE,,,
Mon May 06 11:26:55 2013 us=392976 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 ET:0 EL:0 AF:3/1 ]
Mon May 06 11:26:55 2013 us=392976 Local Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto TCPv4_CLIENT,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Mon May 06 11:26:55 2013 us=392976 Expected Remote Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto TCPv4_SERVER,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Mon May 06 11:26:55 2013 us=393476 Local Options hash (VER=V4): '69109d17'
Mon May 06 11:26:55 2013 us=393476 Expected Remote Options hash (VER=V4): 'c0103fa8'
Mon May 06 11:26:55 2013 us=393476 Attempting to establish TCP connection with [AF_INET]127.0.0.1:3128
Mon May 06 11:26:55 2013 us=393976 MANAGEMENT: >STATE:1367810815,TCP_CONNECT,,,
Mon May 06 11:26:55 2013 us=394476 TCP connection established with [AF_INET]127.0.0.1:3128
Mon May 06 11:26:55 2013 us=394976 Send to HTTP proxy: 'CONNECT xxx.xxx.xxx.xxx:443 HTTP/1.0'
Mon May 06 11:26:55 2013 us=468485 HTTP proxy returned: 'HTTP/1.1 200 Connection established'
Mon May 06 11:26:57 2013 us=469239 TCPv4_CLIENT link local: [undef]
Mon May 06 11:26:57 2013 us=469739 TCPv4_CLIENT link remote: [AF_INET]127.0.0.1:3128
Mon May 06 11:26:57 2013 us=470740 MANAGEMENT: >STATE:1367810817,WAIT,,,
Mon May 06 11:26:57 2013 us=480741 Connection reset, restarting [0]
Mon May 06 11:26:57 2013 us=481241 TCP/UDP: Closing socket
Mon May 06 11:26:57 2013 us=483241 SIGUSR1[soft,connection-reset] received, process restarting
Mon May 06 11:26:57 2013 us=484241 MANAGEMENT: >STATE:1367810817,RECONNECTING,connection-reset,,
Mon May 06 11:26:57 2013 us=487242 Restart pause, 5 second(s)

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: connect reset through http-proxy

Post by janjust » Mon May 06, 2013 1:51 pm

the HTTP proxy is running on the local host - what does the proxy logs say?
it may very well be that some intermittent firewall is killing the connection. Try using openvpn+stunnel instead.

Post Reply