forked from ventz/openconnect-gui-menu-bar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.conf.example
31 lines (26 loc) · 1.32 KB
/
settings.conf.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Mandatory: Uncomment one of the following two lines, depending on whether you have an
# Intel or Apple Silicon Mac
#VPN_EXECUTABLE=/opt/homebrew/bin/openconnect # Apple Silicon Macs
#VPN_EXECUTABLE=/usr/local/bin/openconnect # Intel Macs
# Mandatory: Enter the URL or IP address of your VPN server, your username, and
# (optionally) provide pre-password prompt responses (see README.md)
VPN_HOST="vpn.example.invalid"
VPN_USERNAME="anonymous"
PROMPT_RESPONSES=""
# Optional: change the title displayed in the menu bar.
VPN_DISPLAYNAME="VPN"
# Optional: change the default interface name.
VPN_INTERFACE="utun99"
# Optional: change the default logfile
LOGFILE="$HOME/Library/Logs/xbar-openconnect.log"
# Optional: provide additional commandline argument(s) to openconnect in bash array.
# To provide NO arguments, the array must be empty. Examples:
# EXTRA_ARGS_SPLIT=( ) # No extra arguments
# EXTRA_ARGS_SPLIT=( "--servercert=pin-sha256:..." "--script=vpn-slice args" )
# Argument notes:
# - servercert: used instead of passing in "y\n" as PROMPT_RESPONSE
# - -s 'vpn-slice ...': use to set up routes, hosts, DNS for split tunneling
# - EXTRA_ARGS_SPLIT is used by default, EXTRA_ARGS_FULL is used if param2 passed to
# script is "full".
EXTRA_ARGS_SPLIT=( )
EXTRA_ARGS_FULL=( )