c678014
I am using OpenVPN connect 2.0.0.400 behind an authenticated http proxy. At home I have a Access Server virtual appliance.
I have configured the client configuration file (C:\Program Files\OpenVPN Technologies\OpenVPN Client\etc\profile\<user_host>.ovpn for authenticated proxy.
I have added the following lines (one at a time to test each type):
http-proxy <proxy ip address> 8080 c:\\cygwin\\home\\c678014\\.openvpn_auth basic
http-proxy <proxy ip address> 8080 c:\\cygwin\\home\\c678014\\.openvpn_auth ntlm
I can see in the log file that it definetly does connect to the proxy server:
Thu Apr 03 07:10:49 2014 NOTE: --win-sys env is default from OpenVPN v2.3. This entry will now be ignored. Please remove this entry from your configuration file.
Thu Apr 03 07:10:49 2014 Unrecognized option or missing parameter(s) in [CMD-LINE]:1: http-proxy-fallback (2.3_AS6)
Thu Apr 03 07:10:49 2014 OpenVPNAS 2.3_AS6 Windows-MSVC [SSL (OpenSSL)] [LZO] [IPv6] built on Jul 15 2013
Thu Apr 03 07:10:49 2014 MANAGEMENT: Connected to management server at [AF_INET]127.0.0.1:35478
Thu Apr 03 07:10:49 2014 MANAGEMENT: CMD 'state on'
Thu Apr 03 07:10:49 2014 MANAGEMENT: CMD 'echo on'
Thu Apr 03 07:10:49 2014 MANAGEMENT: CMD 'bytecount 1'
Thu Apr 03 07:10:49 2014 MANAGEMENT: CMD 'hold off'
Thu Apr 03 07:10:49 2014 MANAGEMENT: CMD 'hold release'
Thu Apr 03 07:10:51 2014 MANAGEMENT: CMD 'username "Auth" "<username>"'
Thu Apr 03 07:10:51 2014 MANAGEMENT: CMD 'password [...]'
Thu Apr 03 07:10:51 2014 MANAGEMENT: CMD 'remote ACCEPT'
Thu Apr 03 07:10:53 2014 Control Channel Authentication: tls-auth using INLINE static key file
Thu Apr 03 07:10:53 2014 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Apr 03 07:10:53 2014 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Apr 03 07:10:53 2014 Socket Buffers: R=[8192->100000] S=[64512->100000]
Thu Apr 03 07:10:53 2014 Attempting to establish TCP connection with [AF_INET]<proxy ip address>:8080
Thu Apr 03 07:10:53 2014 MANAGEMENT: >STATE:1396469453,TCP_CONNECT,,,
Thu Apr 03 07:10:53 2014 TCP connection established with [AF_INET]<proxy ip>:8080
Thu Apr 03 07:10:53 2014 Send to HTTP proxy: 'CONNECT <access server>:<access server port> HTTP/1.0'
Thu Apr 03 07:10:53 2014 Attempting Basic Proxy-Authorization
Thu Apr 03 07:10:53 2014 HTTP proxy returned: 'HTTP/1.1 407 Proxy Authentication Required'
Thu Apr 03 07:10:53 2014 Proxy requires authentication
Thu Apr 03 07:10:53 2014 Proxy requires authentication
Thu Apr 03 07:10:53 2014 SIGTERM[soft,init_instance] received, process exiting
Thu Apr 03 07:10:53 2014 MANAGEMENT: >STATE:1396469453,EXITING,init_instance,,
Firstly I don't seem to have line in my configuration file that corresponds to the error:
Thu Apr 03 07:10:49 2014 Unrecognized option or missing parameter(s) in [CMD-LINE]:1: http-proxy-fallback (2.3_AS6)
Also it would appear that the proxy authentication is not actually being attempted.
Is it because of the path of the authentication file?
Does it just need to be a filename?
If so where should the file be placed?
Any suggestions would be most appreciated.
Pat