support for http-proxy-option EXT1

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

frriction

Posts: 6
Joined: Fri Aug 31, 2012 1:04 am

Post by frriction » Fri Aug 31, 2012 1:17 am
Is this possible to use this kind of config with viscosity.

http-proxy-option EXT1 'X-Online-Host: 10.11.233.29'
http-proxy-option EXT2 'Host: 10.11.233.29'

I know that openvpn natively does not support it, I use it this config using NMDVPN in my parallel and sharing my VPN through PARALLEL to my mac
It will be great if this config works natively in my mac only, so I can ditch requirement of PARALLEL DESKTOP.

James

User avatar
Posts: 1988
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Fri Aug 31, 2012 9:02 pm
Hi frriction,

Viscosity's proxy support is implemented by OpenVPN itself (for the most part), so if OpenVPN doesn't support it I'm afraid Viscosity will not either. However you can replace Viscosity's version of OpenVPN with your own patched version that adds support if you wish. As of version 1.4.2 the OpenVPN binary is located at /Library/ViscosityHelperTools/openvpn. You can replace the default version there with your custom version (just make sure it has the same permissions as on the original version, otherwise Viscosity may attempt to replace it).

Cheers,
James
James Bekkema
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs

frriction

Posts: 6
Joined: Fri Aug 31, 2012 1:04 am

Post by frriction » Fri Sep 07, 2012 1:56 pm
James thank you for reply, I do not have binary file or say source code.
I only have installation file will that help me with your suggestion?
or is there any other way you may know of it.

James

User avatar
Posts: 1988
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Sat Sep 08, 2012 9:02 pm
Hi frriction,

You'd need the OpenVPN source code (from the OpenVPN website), and the necessary patches/modifications that NMDVPN have made (OpenVPN is licensed under the GPL, so you are allowed to ask them for any changes they have made). You'd then need to compile OpenVPN yourself and replace the version Viscosity uses with your version.

Modifying source code and compiling OpenVPN aren't easy tasks, so it might end up being too difficult when compared to simply using Parallels.

Cheers,
James
James Bekkema
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs

frriction

Posts: 6
Joined: Fri Aug 31, 2012 1:04 am

Post by frriction » Tue Sep 11, 2012 3:00 am
James,
Thank you for your reply I tried looking for NMDVPN source or their patch but no luck. So no other way but have to stick to PARALLEL method. I want to run natively because I feel that PARALLEL method bottlenecks the bandwidth. Anyway really happy with your answer and support.
Thank you.

kikikakuku

Posts: 1
Joined: Sun Jul 05, 2015 12:21 am

Post by kikikakuku » Sun Jul 05, 2015 12:29 am
Has custom headers been implemented yet? Its 3 years now. Who has a patched openvpn binary?
Let me just drop this here http://sourceforge.net/p/openvpn/mailma ... /31561156/
6 posts Page 1 of 1