Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0mp/openconnect-freebsd-daemon
OpenConnect VPN service daemon for FreeBSD rc(8)
https://github.com/0mp/openconnect-freebsd-daemon
bsd-2-license daemon freebsd openconnect rc service vpn
Last synced: 27 days ago
JSON representation
OpenConnect VPN service daemon for FreeBSD rc(8)
- Host: GitHub
- URL: https://github.com/0mp/openconnect-freebsd-daemon
- Owner: 0mp
- License: other
- Created: 2021-05-21T16:01:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-20T14:54:59.000Z (about 3 years ago)
- Last Synced: 2024-10-19T10:39:06.329Z (3 months ago)
- Topics: bsd-2-license, daemon, freebsd, openconnect, rc, service, vpn
- Language: Shell
- Homepage:
- Size: 15.6 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenConnect FreeBSD Daemon
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:
- Support for starting multiple OpenConnect services.
- Support for running arbitrary commands for OTP-based authentication.See the service files for usage details.
## Installation
```console
% make
% su
# make install
```## Examples
Configure and connect to a VPN with OpenConnect:
```console
# 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:
```console
# sysrc openconnect_services+="myvpn"
```Enable verbose output (e.g., for debugging):
```console
# sysrc openconnect_myvpn_args+="--verbose"
```Set the password manually:
```console
# mkdir -p /usr/local/etc/openconnect/passwords
# (umask 077 && echo "password" > /usr/local/etc/openconnect/passwords/myvpn)
```## License
The 2-Clause BSD license.