OpenVPN through proxy with NTLM authentication

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
dh2311
OpenVpn Newbie
Posts: 1
Joined: Mon Mar 03, 2014 1:46 pm

OpenVPN through proxy with NTLM authentication

Post by dh2311 » Mon Mar 03, 2014 1:51 pm

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?

User avatar
jamesyonan
OpenVPN Inc.
Posts: 169
Joined: Thu Jan 24, 2013 12:13 am

Re: OpenVPN through proxy with NTLM authentication

Post by jamesyonan » Wed Mar 12, 2014 4:46 am

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

diuvermc
OpenVpn Newbie
Posts: 2
Joined: Fri Nov 13, 2015 3:40 pm

Re: OpenVPN through proxy with NTLM authentication

Post by diuvermc » Fri Nov 13, 2015 3:41 pm

hi i hace the same issue but i dont know where to put the code
can u help me

Post Reply