Page 1 of 1

OpenVPN through proxy with NTLM authentication

Posted: Mon Mar 03, 2014 1:51 pm
by dh2311
Hi,

I'm trying to setup openvpn connect on my iPhone for use through my office proxy server, as I have set up on my mac. However the proxy uses NTLM authentication and in the app's settings it only allows for basic authentication seemingly, which does not work.

I have tried placing the proxy information into the .ovpn file and directing it to an external file with proxy information with the following

Code: Select all

http-proxy 172.0.0.20 8080 proxy-auth.txt ntlm
and then in the external file having (username and password are just used as examples here:
username
password
But my phone is saying HTTP proxy credentials were not accepted, although my mac accepts them with exactly the same settings.


Does anyone know the issue?

Re: OpenVPN through proxy with NTLM authentication

Posted: Wed Mar 12, 2014 4:46 am
by jamesyonan
The OpenVPN Connect app does support NTLM auth. This has been tested with Squid.

Try configuring the proxy settings in the Settings App under OpenVPN.

Or alternatively, try specifying proxy creds inline in the config file:

Code: Select all

http-proxy 172.0.0.20 8080 auto-nct
<http-proxy-user-pass>
username
password
</http-proxy-user-pass>
The "auto-nct" option tells the app to dynamically negotiate the proxy auth method, but to avoid using any method that sends cleartext creds over the wire.

James

Re: OpenVPN through proxy with NTLM authentication

Posted: Fri Nov 13, 2015 3:41 pm
by diuvermc
hi i hace the same issue but i dont know where to put the code
can u help me