1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
git clone https://gitlab.com/openconnect/ocserv.git
cd ocserv
chmod u+x autogen.sh
./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc/
sudo make
# sudo make check
sudo make install
sudo mkdir /etc/ocserv
sudo cp ./doc/sample.config /etc/ocserv/ocserv.conf
sudo cp ./doc/systemd/standalone/ocserv.service /lib/systemd/system/ocserv.service
sudo cp ./tests/certs/server-cert.pem /etc/ocserv/server-cert.pem
sudo cp ./tests/certs/ca.pem /etc/ocserv/ca.pem
sudo systemctl daemon-reload
|