Skip to content

Instantly share code, notes, and snippets.

View lostact's full-sized avatar

lostact

  • Tehran, Iran
View GitHub Profile
@lostact
lostact / ocserv.md
Last active November 12, 2022 20:30

Install requirements

sudo apt update
sudo apt install -y libpam0g-dev liblz4-dev libseccomp-dev libreadline-dev libnl-route-3-dev libkrb5-dev libradcli-dev libcurl4-gnutls-dev libcjose-dev libjansson-dev libprotobuf-c-dev libtalloc-dev libhttp-parser-dev protobuf-c-compiler gperf nuttcp lcov libuid-wrapper libpam-wrapper libnss-wrapper libsocket-wrapper gss-ntlmssp iputils-ping gawk gnutls-bin iproute2 yajl-tools tcpdump libgnutls28-dev libev-dev build-essential gcc automake autoconf git certbot nload iptables-persistent

Build Ocserv:

git clone https://gitlab.com/openconnect/ocserv
cd ocserv