I've installed ocserv package using these commands on Ubuntu22:
mkdir /usr/local/src/ocserv
cd /usr/local/src/ocserv
wget ftp://ftp.infradead.org/pub/ocserv/ocserv-0.10.9.tar.xz
unxz ocserv-0.10.9.tar.xz
tar xvf ocserv-0.10.9.tar
cd ocserv-0.10.9
./configure --sysconfdir=/etc/ && make && make install
The ocserv package is installed and it run and works with this command:
ocserv -c /etc/ocserv/ocserv.conf
I need it to run as a service. can you please help me doing this?
- I couldn't use the linux repository to install this package because of some considerations.