Page 1 of 1

Config file options

Posted: Fri Apr 16, 2021 2:13 am
by duncanf
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.

Re: Config file options

Posted: Fri Apr 16, 2021 2:53 am
by James
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