OpenConnect VPN service daemon for FreeBSD rc(8)
A service daemon for the FreeBSD rc(8) framework. It lets the user configure
OpenConnect VPN in rc.conf(5) and use the standard FreeBSD tools to control the
daemon.
Features:
See the service files for usage details.
% make
% su
# make install
Configure and connect to a VPN with OpenConnect:
# sysrc openconnect_myvpn_enable="YES"
# sysrc openconnect_myvpn_username="charlie.root"
# sysrc openconnect_myvpn_server="vpn.example.org"
# service openconnect setpassword myvpn
Password (openconnect_myvpn):
# service openconnect start myvpn
Enable “myvpn” OpenConnect service to run on boot:
# sysrc openconnect_services+="myvpn"
Enable verbose output (e.g., for debugging):
# sysrc openconnect_myvpn_args+="--verbose"
Set the password manually:
# mkdir -p /usr/local/etc/openconnect/passwords
# (umask 077 && echo "password" > /usr/local/etc/openconnect/passwords/myvpn)
The 2-Clause BSD license.