Config file options

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

duncanf

Posts: 1
Joined: Fri Apr 16, 2021 2:07 am

Post by duncanf » Fri Apr 16, 2021 2:13 am
Hi, I currently run openvpn on a pfsense box and have a few mac users. When I generate ovpn config files for mac users it inserts some viscosity-specific config values.
Like these:
Code: Select all
#viscosity startonopen false
#viscosity dhcp true
#viscosity dnssupport true
#viscosity name OpenVPN 2020
Are these documented somewhere? I was hoping for one that would let me control DNS Modes so I can use Full DNS mode on an otherwise split VPN.

Cheers.

James

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

Post by James » Fri Apr 16, 2021 2:53 am
Hi duncanf,

I'm afraid we don't have any documentation for these, as they're internally generated by Viscosity. Some of these (namely "dnssupport") have also been unused for many years.

You can see the generated commands for a connection setting by viewing the Raw Configuration Data for your connection. You can view the raw configuration data for your Viscosity connection by opening Viscosity’s Preferences window, holding down the Option/Alt key on your keyboard, right-clicking (or control-clicking on Mac) on your connection, and selecting “View Configuration Data”.

For example, you can set the DNS Mode in Viscosity and then view the raw configuration data to see the associated command (which you can then include in your configurations).

Alternatively you can push the DNS Mode to use from the OpenVPN server:
https://www.sparklabs.com/support/kb/ar ... h-dns-mode

Cheers,
James
James Bekkema
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs
2 posts Page 1 of 1