Importing VPN connection from openvpn gui w/ ntlm settings

Got a problem with Viscosity or need help? Ask here!


Posts: 11
Joined: Tue Dec 06, 2011 2:01 am

Post by cudiaco » Wed Mar 28, 2012 11:15 pm
I have been trying to configure Viscosity to connect to my VPN network from a corporate/firewalled environment which has to bounce through an ISA proxy that uses NTLM.

I have managed to successfully configure OpenVPN gui to do this, but I seem to have problems acheiving the same with viscosity (windows version). The mac version of viscosity works perfectly, however. (VPN provider is alwaysvpn)

The configuration file (in openvpn gui) looks like the following (this assumes there is a an auth.txt file in the config directory which contains my NTLM username and password):
Code: Select all
## AlwaysVPN Windows TCP client configuration version 2.1
dev tap
proto tcp-client
remote 443
remote 443
redirect-gateway def1
resolv-retry infinite
# persist-tun
ca alwaysvpn2_ca.crt
tls-auth alwaysvpn-ta.key 1
ns-cert-type server
tls-remote alwaysvpn_s
tls-cipher DHE-RSA-AES256-SHA:DHE-DSS-AES256-SHA
cipher BF-CBC
verb 3
script-security 2 system
route-up "ipconfig -registerdns && ipconfig -flushdns && rundll32 url.dll"
http-proxy 8080 auth.txt ntlm
http-proxy-timeout 20
http-proxy-option AGENT user-agent "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; Media Center PC 6.0; InfoPath.3; MS-RTC LM 8; Zune 4.7)"
The imported connection looks fine in viscosity, however each attempt to connect fails, giving me the following error message:

"A valid netowrk to the remote server does not exist. Please make sure your computer has a valid network connection and try again. Viscosity can leave this connection disconnected, or it can automatically connect it when a valid network becomes available."

Any help with this would be appreciated. The machine I'm running this on is Windows 7 32-bit Enterprise edition. If you need any more details please let me know.



User avatar
Posts: 864
Joined: Sun Jan 03, 2010 3:27 am

Post by Eric » Thu Mar 29, 2012 9:14 am
Hi cudiaco,

The latest version of Viscosity has some proxy support issues which the latest beta should resolve. Please give the latest beta a go and see if it solves your problem - ... ?f=7&t=482


Eric Thorpe
Viscosity Developer

2 posts Page 1 of 1