mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
25 lines
683 B
Plaintext
25 lines
683 B
Plaintext
|
|
=== About ===
|
|
|
|
This program is openconnect VPN server (ocserv), a server compatible with the
|
|
openconnect VPN client [0]. It is believed to be compatible with the protocol
|
|
used by CISCO's AnyConnect SSL VPN.
|
|
|
|
[0]. http://www.infradead.org/openconnect/
|
|
|
|
=== Build instructions ===
|
|
|
|
To build from the git repository use:
|
|
|
|
$ autoreconf -fvi
|
|
$ ./configure && make
|
|
|
|
Now you need to generate a certificate. E.g.
|
|
$ certtool --generate-privkey > ./test-key.pem
|
|
$ certtool --generate-self-signed --load-privkey test-key.pem --outfile test-cert.pem
|
|
(make sure you enable encryption or signing)
|
|
|
|
To run the server edit the src/sample.config and then run:
|
|
# src/ocserv -f -c src/sample.config
|
|
|