GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
OCCTL(8) FreeBSD System Manager's Manual OCCTL(8)

occtl - OpenConnect VPN server control tool

occtl [´COMMAND´]

This a control tool that can be used to send commands to ocserv. When called without any arguments the tool can be used interactively, where each command is entered on a command prompt; alternatively the tool can be called with the command specified as parameter. In the latter case the tool´s exit code will reflect the successful execution of the command.

Specify the server´s occtl socket file. This option is only needed if you have multiple servers.
Output will be JSON formatted. This option can only be used with non-interactive output, e.g., ´occtl --json show users´.
No pager will be used over output data.
Provide more verbose information in some commands.
Display usage information and exit.
Output version of program and exit.

0
Successful program execution.
1
The operation failed or the command syntax was not valid.

This tool uses unix domain sockets to connect to ocserv.

The tool can be run interactively when run with no arguments. When arguments are given they are interpreted as commands. For example:

$ occtl show users

Any command line arguments to be used as options must precede the command (if any), as shown below.

$ occtl --json show users

Written by Nikos Mavrogiannopoulos. Many people have contributed to it.

Issue tracker: https://gitlab.com/openconnect/ocserv/-/issues

Copyright (C) 2013-2024 Nikos Mavrogiannopoulos and others, all rights reserved. This program is released under the terms of the GNU General Public License, version 2.

ocserv(8), ocpasswd(8)

April 2024

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.